Hello all,

I was wondering if anybody was successfull in generation source code for the 
XML Schema definition itself? This would be useful for generating XML Schema 
files programatically. Basically, what I need is an API to construct an XML 
Schema file and a serializer for this. Since I couldn't figure out how to 
serialize Apaches XSGrammar objects, I tried to use Castor to generate source 
code for this file:

http://www.w3.org/2001/XMLSchema.xsd

When trying this I encountered problems and tried to see how other people have 
fared when trying this.
All I found was this post:
http://hypermail.linklord.com/castor-dev/2004/Mar/3676.html

In this post, a similar error message was generated:

 Exception in thread "main" java.lang.IllegalArgumentException: 
 getSimpleType: the simple type 'derivationControl' is not a built-in 
 type as defined in XML Schema specification. 

Best regards,
Jos van den Oever

-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to