users@jaxb.java.net

Ant Task vs. XJC (re: globalBindings)

From: clleger <clleger_at_sandia.gov>
Date: Thu, 4 Dec 2008 10:53:28 -0800 (PST)

I'm not sure if this is the right forum for this question, but I'm running
into a problem where using xjc from an ant task chokes on a
jaxb:globalBindings declaration whereas running xjc from the command-line
has no problem. The main issue is that whenever an attribute is declared
for globalBindings, I get the error:

[xjc] [ERROR] Unexpected </> appears at line 10 column 37
[xjc] line 10 of file:schema.xsd

where the offending line is '<jaxb:globalBindings
fixedAttributeAsConstantProperty="true" />'.

xjc version is "JAXB 2.1.3 in JDK 1.6", and I'm using jaxb-xjc-2.1.9.jar

Thanks,

Chris
-- 
View this message in context: http://www.nabble.com/Ant-Task-vs.-XJC-%28re%3A-globalBindings%29-tp20839980p20839980.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.