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=3473 *** shadow/3473 Thu Sep 6 13:34:23 2001 --- shadow/3473.tmp.23881 Thu Sep 6 13:34:23 2001 *************** *** 0 **** --- 1,62 ---- + +============================================================================+ + | Referencing group incorrectly requires namespace qualification | + +----------------------------------------------------------------------------+ + | Bug #: 3473 Product: Xerces-J | + | Status: NEW Version: 1.4.3 | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows NT/2K | + | Priority: Other Component: Core | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The schema: + + <?xml version='1.0'?> + <xsd:schema targetNamespace="http://com.commerceone/myschemas/GroupNameTest2" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:group name="MyGroup"> + <xsd:sequence> + <xsd:element name="MyString" type="xsd:string"/> + <xsd:element name="MyInt" type="xsd:int"/> + </xsd:sequence> + </xsd:group> + + <xsd:element name="MyElement" type="MyComplexType"/> + + <xsd:complexType name="MyComplexType"> + <xsd:sequence> + <xsd:group ref="MyGroup"/> + </xsd:sequence> + </xsd:complexType> + + </xsd:schema> + + Results in the errors: + + ERROR:Sysid[file:///C:/xalan/xerces-1_4_3/GroupNameTest2.xml]:Schema error: !! + Schema not found in #traverseGroupDeclFromAnotherSchema, schema uri: , + groupName:MyGroup. + ERROR:Sysid[file:///C:/xalan/xerces-1_4_3/GroupNameTest2.xml]:Element + type "MyString" must be declared. + ERROR:Sysid[file:///C:/xalan/xerces-1_4_3/GroupNameTest2.xml]:Element + type "MyInt" must be declared. + ERROR:Sysid[file:///C:/xalan/xerces-1_4_3/GroupNameTest2.xml]:The content of + element type "name:MyElement" must match "EMPTY". + + when the following instance is parsed: + + <name:MyElement + xmlns:name="http://com.commerceone/myschemas/GroupNameTest2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://com.commerceone/myschemas/GroupNameTest2 + GroupNameTest2.xsd"> + + <MyString>Hello</MyString> + <MyInt>123</MyInt> + </name:MyElement> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
