We are trying to use xsd2jibx on a quite simple XML schema, but we have some trouble on "xsd:attributeGroup" tag.
In the following example, (which is well formed and valid, according to Stylus Studio 2007 XML) : <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!-- Document Root Element--> <xsd:complexType name="Person"> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> </xsd:sequence> <xsd:attributeGroup ref="attributGroup"/> <xsd:attribute name="address" type="xsd:string"/> </xsd:complexType> <xsd:attributeGroup name="attributGroup"> <xsd:attribute name="dummy1" type="xsd:string"/> <xsd:attribute name="dummy2" type="xsd:string"/> </xsd:attributeGroup> </xsd:schema> [java -jar xsd2jibx.jar "./test.xsd"] xsd2jibx runs ok, and generates the following binding.xml and the Person.java files: <?xml version="1.0" encoding="UTF-8"?> <binding> <mapping name="Person" class="Person"> <value name="name" field="name" usage="required"/> <value name="address" field="address" usage="optional" style="attribute"/> </mapping> </binding> public class Person { protected String name; protected String address; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getAddress() { return this.address; } public void setAddress(String address) { this.address = address; } } Unfortunatly, there is nothing about dummy1 and dummy2 which are present in our original test.xsd file. Any idea of what's wrong? Best regards, Vincent Pons ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users