JAXB and XMLSPY report that schema fails validation.
description
Hi, I tried to use JAXB to map the schema files to Java classes and I got the validation error below. Then I tried to open xul.xsd in XMLSpy and it also reported the same errors during validation. Is there a way I can fix the schema easily? Thanks, William
C:\dev\jdk1.6.0_14\bin>xjc C:\dev\xulschema\xul.xsd
parsing a schema...
[ERROR] ct-props-correct.4: Error for type 'windowElementType'. Duplicate attribute uses with the same name and target namespace are specified. Name of duplicate attribute use is 'align'.
line 1092 of file:/C:/dev/xulschema/xul.xsd
[ERROR] ct-props-correct.4: Error for type 'wizardpageElementType'. Duplicate attribute uses with the same name and target namespace are specified. Name of duplicate attribute use is 'align'.
line 1679 of file:/C:/dev/xulschema/xul.xsd