Hi

I've been trying to use Castor to generate java bindings for this schema:

http://nvd.nist.gov/scap/xccdf/docs/xccdf-1.0.xsd.txt

The problem is, I get the following output:

Embedded error: An Exception occurred processing
/Users/villo/Documents/projects/atalaya/trunk/atalaya-web/src/main/xsd/xccdf-1.0.xsd
duplicate name found: _id

I'm using Castor-1.1.M3 with the maven plugin with these properties (I used
the last two in the hope to solve the problem but I admit I don't know their
effect too much)

org.exolab.castor.builder.javaVersion=5.0
org.exolab.castor.builder.automaticConflictResolution=true

Also, I had to download these definitions  
datatypes.dtd
xml.xsd
XMLSChema.dtd
simpledc20021212.xsd (from dublincore.org/schemas/xmls/simpledc20021212.xsd)
platform-0.2.3.xsd (from
http://csrc.nist.gov/checklists/docs/platform-0.2.3.xsd.txt)

I have read  http://www.mattpayne.org/blog/category/programming/xml/ here 
that people have been using xmlbeans to generate java bindings for this
schema, but I'd like to use Castor...

Anyone has got a clue?
thanks a lot
F


-- 
View this message in context: 
http://www.nabble.com/Help-mapping-XCCDF-schema-tp15017437p15017437.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to