Hi Tomasz,

You must be looking at some old version of the source code. This bug was
fixed [1] almost 2 1/2 years ago.

[1] http://svn.apache.org/viewvc?view=rev&revision=320545

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

"Tomasz Matyszewski" <[EMAIL PROTECTED]> wrote on 01/07/2008
09:04:46 AM:

> Hi,
> If I try to validate some type of data which should by 'date' I get
> the message e.g. "cvc-datatype-valid.1.2.1: 'Boss' is not a valid
> value for 'dateTime'." instead of "cvc-datatype-valid.1.2.1 : 'Boss'
> is not a valid value for 'date'.". I looked into the code of the
> library I found that class DateDV has method public Object
> getActualValue(String content) while actually during validation in
> class XSSimpleTypeDecl is called Object avalue =
> fDVs[fValidationDV].getActualValue(nvalue, context);. That's why
> getActualValue is called from DateTimeDV not from DateDV. Is this a bug
??
>
> Thanks,
> Tomasz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to