You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/02/26 12:42:32 UTC

DO NOT REPLY [Bug 17427] New: - Date validation is not working

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17427>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17427

Date validation is not working

           Summary: Date validation is not working
           Product: Xerces-C++
           Version: 2.1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: dlindbe@bellsouth.net


Using DOMBuilder::parseURI to parse an XML file with a valid schema (according 
to xsv)  I get the folloing error message in my error file:
Datatype error: Type:InvalidDatatypeValueException, Message:Value '
			2000-01-01
		' is not in enumeration .

The element type is an xsd:date.  I belive the date to be valid.  This error 
did not occur in version 1.6 using DOMParser::parse using the same XML file and 
schema.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org