PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2785 *** shadow/2785 Wed Jul 25 08:07:33 2001 --- shadow/2785.tmp.3372 Wed Jul 25 08:07:33 2001 *************** *** 0 **** --- 1,47 ---- + +============================================================================+ + | Problems with anyType | + +----------------------------------------------------------------------------+ + | Bug #: 2785 Product: Xerces-J | + | Status: NEW Version: 1.4.2 | + | Resolution: Platform: PC | + | Severity: Blocker OS/Version: Windows NT/2K | + | Priority: Other Component: Schema-Datatypes | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Hi, + using a declaration like + <xsd:element name ="SendingInstitution" type="xsd:anyType"/> + + instead of + <xsd:element name ="SendingInstitution"/> + causes the following error message: + + defaultresult.xml: + [Error] defaultresult.xml:2:167: Schema error: type not found : + http://www.w3.org/2001/XMLSchema:anyType. + [Error] defaultresult.xml:2:167: Schema error: untyped element : + SendingInstitution. + [Error] defaultresult.xml:2:588: Element type "ssregw:SendingInstitution" must + be declared. + + If a XML Source contains an Element of content type anyType with children + then a validating parser gives an error message like: + + defaultresult_anyType.xml: + [Error] defaultresult_anyType.xml:2:640: General Schema Error: Grammar with uri + 2: urn:tess:test , can not be found. + [Error] defaultresult_anyType.xml:2:640: Element type "test:RegistrationNumber" + must be declared. + + If there is an additional XML Schema for the children there is no problem. I + have attached the example files. + + Regards + + Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
