[ http://issues.apache.org/jira/browse/WSCOMMONS-61?page=all ]
Jeremy Hughes closed WSCOMMONS-61. ---------------------------------- > roundtrip test attB002.xsd fails > -------------------------------- > > Key: WSCOMMONS-61 > URL: http://issues.apache.org/jira/browse/WSCOMMONS-61 > Project: WS-Commons > Issue Type: Bug > Components: XmlSchema > Reporter: Jeremy Hughes > Assigned To: Jeremy Hughes > Priority: Minor > > Roundtripping attB002.xsd fails. This input: > <?xml version="1.0"?> > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > ... > <xsd:complexType name="attRef"> > ... > </xsd:complexType> > <xsd:element name="doc"> > <xsd:complexType> > <xsd:choice> > <xsd:element name="elem" type="attRef"/> > </xsd:choice> > </xsd:complexType> > </xsd:element> > </xsd:schema> > creates this output > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > attributeFormDefault="unqualified" elementFormDefault="unqualified" > xmlns:gen526=""> > ... > <xsd:complexType name="attRef"> > ... > </xsd:complexType> > <xsd:element name="doc"> > <xsd:complexType> > <xsd:choice> > <xsd:element name="elem" type="gen526:attRef"/> > </xsd:choice> > </xsd:complexType> > </xsd:element> > </xsd:schema> > the gen526 (run it again and the number will be different) namespace prefix > is used rather than referring to the complexType in the schema. Note: there > is no targetNamespace defined. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
