Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

jaxb xjc problem

Thread view: 
asaf.lahav@gmail.com - 08 Jan 2006 09:05 GMT
Hi all,

I'm trying to use the xjc command line utility with no luck.
For some bizare reason I'm constantly getting an error even though I
think I'm using it according to the instructions.

The xjc I'm using is the one that comes with sun's jWSDP 1.6.

This is the command:
-------------------------------
C:\Downloads\jaxbSample>xjc -d src -p model play.xsd

This is the exception:
-------------------------------
parsing a schema...
[ERROR] schema_reference.4: Failed to read schema document
'file:/C:/Downloads/jaxbSample/ud', because 1) could not find the
document; 2) the document could not be read; 3) the root element of the
document is not <xsd:schema>.
unknown location

[ERROR] Content is not allowed in prolog.
 line 1 of

Failed to parse a schema.

For some reason, the utility probes for a subdirectory by the name 'ud'
even though it doesn't exist. I tried to create such a subdirectory and
put the schema file there, but it didn't help either.

I would appreciate any help,
Thanks in advance,
Asaf
SimonJackson - 18 Jan 2006 11:37 GMT
You could try looking at Liquid XML, it copes with much more of the XSD
standard

http://www.liquid-technologies.com/Download.aspx


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.