Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Error during schemas.jar compilation

Help
pjamason
2004-12-15
2013-04-17
  • pjamason
    pjamason
    2004-12-15

    I get the following error when performing an ant build on the schemas.jar compilation target:

    [xmlbean] schemas/pgmSubmission.xsd:0: error: Could not load resource "http://sopac.ucsd.edu/ns/geodesy/base/geodeticOccupation/2004/11/geodeticOccupation.xsd" (network downloads disabled).
      [xmlbean] schemas/pgmSubmission.xsd:0: error: Could not load resource "http://sopac.ucsd.edu/ns/general/nominal/2004/11/nominalDescriptors.xsd" (network downloads disabled).
      [xmlbean] schemas/pgmSubmission.xsd:0: error: Type idType@http://sopac.ucsd.edu/ns/general/nominal/2004/11 not found.
      [xmlbean] schemas/pgmSubmission.xsd:0: error: Type idType@http://sopac.ucsd.edu/ns/general/nominal/2004/11 not found.
      [xmlbean] schemas/pgmSubmission.xsd:0: error: Type baseGeodeticOccupationType@http://sopac.ucsd.edu/ns/geodesy/base/geodeticOccupation/2004/11 not found.
      [xmlbean] Time to build schema type system: 1.659 seconds
      [xmlbean] BUILD FAILED

    Does the xmlbean plugin support namespace uri's?  My apologies if this is a non-xmlbean plugin issue.

    Thanks,
    Paul

     
    • Don Stewart
      Don Stewart
      2004-12-20

      Please disregard my earlier e-mail.  I added a 'download="yes"'
      parameter/value to the xmlbean schema section of my build.xml, and the imports are now working.  I remembered scomp required a -dl command line option as an equivalent.