ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Understanding JAXB: Java Binding Customization
Subject:   error when running the example
Date:   2003-12-22 10:52:29
From:   anonymous2
Hello,


When I attempt to run the modified version of the XSD file, jxc throws a parsing error:
parsing a schema...
[ERROR] In "strict" mode, the following schema feature is not allowed (See App E
.2).Use the "-extension" switch:
vendor extension bindings (jaxb:extensionBindingPrefixes) are not suppor
ted
line 5 of purchase.xsd


Failed to parse a schema.


Any ideas??


It fails on the following line:
jaxb:version="1.0" jaxb:extensionBindingPrefixes="xjc">


Thanks


Khalid


1 to 1 of 1
1 to 1 of 1