users@jaxb.java.net

XJC ERROR - Schema not part of compilation (using external binding file)

From: Adrian Brogan <adrian.brogan_at_burnsecs.com>
Date: Mon, 27 Oct 2003 11:56:45 -0000

Hopefully this will not prove a difficult question
 
Running the XJC compiler with this command
 
"xjc -d C:\work\databinding\jaxb\srcBexOrder -p
com.burnsecs.document.order.model -b
C:\workspace\trunk\product\dev\shared\src\com\burnsecs\document\shared\c
ommon_bindings.xjb C:\work\BexXMLSchema\order_v02_nobiztalk.xsd"
 
I get the error
 
[ERROR] "file://ngarner/work/BexXMLSchema/order_v02_nobiztalk.xsd" is
not a part of this compilation
line 3 of common_bindings.xjb
 
The binding file "common_bindings.xjb" contains this:
 
<?xml version='1.0' encoding='ISO-8859-1' ?>
<jxb:bindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" jxb:version="1.0">
      <jxb:bindings
schemaLocation="file://ngarner/work/BexXMLSchema/order_v02_nobiztalk.xsd
" node="/xsd:schema">
      <jxb:bindings node="//xsd:element[@name='DATE']">
                  <jxb:javaType name="java.util.Calendar"
xmlType="xsd:date"
 
parseMethod="com.burnsecs.document.shared.DateConverter.parse"
 
printMethod="com.burnsecs.document.shared.DateConverter.format" />
            </jxb:bindings>
      </jxb:bindings>
</jxb:bindings>
 
Given that the schema file in error is in the correct location, does
somebody know why this error is produced?
 
Thanks
 
Adrian
 
 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net