is there a bug in XJC ? (underscore at the end of the package ) (original) (raw)

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

<!--
please run:
$ xjc test.xsd
do you get:
parsing a schema...
compiling a schema...
host/ns/ObjectFactory.java
host/ns/Root.java
host/ns/package-info.java
or do you get (package with underscore)
parsing a schema...
compiling a schema...
host/ns_/ObjectFactory.java
host/ns_/Root.java
host/ns_/package-info.java
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:myns="http://host/ns#"
targetNamespace="http://host/ns#"
elementFormDefault="qualified"
attributeFormDefault="qualified"
>
<xs:complexType name="Root">
xs:sequence\
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Root" type="myns:Root"/>
</xs:schema>