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=13517>. 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=13517 Parser gives an error on default attribute of xs:element Summary: Parser gives an error on default attribute of xs:element Product: Xerces2-J Version: 2.0.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I try and run the ASBuilder example against a schema in which the "default" attribute has been used on an xs:element element I get the following error C:\schema>java -cp c:\xerces-2_2_0\xercesImpl.jar;c:\xerces-2_2_0 \xmlParserAPIs.jar;c:\xerces-2_2_0\xercesSamples.jar dom.ASBuilder -a myschema.xsd -i mysata.xml [Error] myschema.xsd:48:75: s4s-att-not-allowed: Attribute 'default' cannot appe ar in element 'element'. The element is defined as follows <xs:element name="FtLength" type="xs:string" maxOccurs="1" minOccurs="0" default="1" /> This is stated elsewhere to be valid XML Schema syntax. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
