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.23935 Thu Sep 6 13:40:13 2001 *************** *** 59,62 **** <MyString>Hello</MyString> <MyInt>123</MyInt> ! </name:MyElement> --- 59,89 ---- <MyString>Hello</MyString> <MyInt>123</MyInt> ! </name:MyElement> ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-09-06 13:40 ------- ! Note that if I set the namespace of the reference to MyGroup to the target ! namespace, no errors are reported. The starnge behavior is that the parser ! seems to asusme that the group declaration is in a different namespace. ! ! Note also that the XSDL primer has an example similar to this, and no namespace ! qualification is required of the group reference: ! ! <xsd:complexType name="PurchaseOrderType"> ! <xsd:sequence> ! <xsd:choice> ! <xsd:group ref="shipAndBill"/> ! <xsd:element name="singleUSAddress" type="USAddress"/> ! </xsd:choice> ! <xsd:element ref="comment" minOccurs="0"/> ! <xsd:element name="items" type="Items"/> ! </xsd:sequence> ! <xsd:attribute name="orderDate" type="xsd:date"/> ! </xsd:complexType> ! ! <xsd:group name="shipAndBill"> ! <xsd:sequence> ! <xsd:element name="shipTo" type="USAddress"/> ! <xsd:element name="billTo" type="USAddress"/> ! </xsd:sequence> ! </xsd:group> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
