Hi
I have a simple Type and while calling XJC to compile the same I instruct xjc to create the episode file. After the call the java type corresponding to the simple type gets created , but the episode file genearted does not have the bindings for the same. Is there any workaround for this or any argument which would force the proper binding creation for simple types in the generated episode file ?
My command
-----------------------
xjc -episode a.episode s1.xsd
My XSD
-------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="
http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="
http://www.ebay.com/marketplace/services" xmlns:tns="
http://www.ebay.com/marketplace/services" version="1.0.0">
<xs:simpleType name="S1">
<xs:annotation>
<xs:documentation>
Documentation goes here.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="On" />
<xs:enumeration value="Off" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
The generated episode
---------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bindings version="2.1" xmlns="
http://java.sun.com/xml/ns/jaxb">
<!--
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs
See <a href="
http://java.sun.com/xml/jaxb">
http://java.sun.com/xml/jaxb</a>
Any modifications to this file will be lost upon recompilation of the source schema.
Generated on: 2008.10.31 at 10:38:54 PM MST
--></bindings>
_________________________________________________________
[Message sent by forum member 'arajmony' (arajmony)]
http://forums.java.net/jive/thread.jspa?messageID=314334---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...