I have a simple schema that used to work with all versions of JAXB except
the RELEASE version. It defines a simple base type with a single attribute
and then extents 2 other types from it.
<xsd:complexType name="flowElementBaseType">
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="flowType">
<xsd:complexContent>
<xsd:extension base="flowElementBaseType">
<xsd:sequence>
...
(See attached file for more details)
When I load the following XML file:
<flows>
<jythonScript name="alg1" scriptFile="test1.py"/>
<flow name="flow1">
<jythonScript name="alg1" scriptFile="test1.py"/>
</flow>
</flows>
It complains:
Error: unexpected attribute "name", Line: 4, Column: 22
Any help or thoughts would be a appreciated.
Thanks
David Heath
<<fred.xsd>> <<fred1.xml>>
- application/octet-stream attachment: fred.xsd
- application/octet-stream attachment: fred1.xml