Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > JAXB & Excel 2003

Reply
Thread Tools

JAXB & Excel 2003

 
 
dt
Guest
Posts: n/a
 
      02-15-2007
I downloaded Microsoft Office 2003 Reference Schemas from:

http://www.microsoft.com/downloads/d...d=fe118952-354...

Then I tried to use JAXB on them, specifically excel.xsd and
excelss.xsd. The first one passes OK, but doesn't contain Worksheet
element, which is the root element for Excel 2003 documents saved as
XML. The other schema, excelss.xsd, contains the definition of this
element, but doesn't pass through JAXB. The output of:

xjc -p generated excelss.xsd

is:

-------------------- cut here ---------------
parsing a schema...
[ERROR] Property "Name" is already defined.
line 219 of file:/C:/xls/office.xsd

[ERROR] The following location is relevant to the above error
line 204 of file:/C:/xls/office.xsd

[ERROR] Property "Namespaceuri" is already defined.
line 214 of file:/C:/xls/office.xsd

[ERROR] The following location is relevant to the above error
line 199 of file:/C:/xls/office.xsd

[ERROR] Property "Url" is already defined.
line 224 of file:/C:/xls/office.xsd

[ERROR] The following location is relevant to the above error
line 209 of file:/C:/xls/office.xsd

[ERROR] Property "FullColumns" is already defined.
line 590 of file:/C:/xls/excelss.xsd

[ERROR] The following location is relevant to the above error
line 5042 of file:/C:/xls/excel.xsd

[ERROR] Property "FullRows" is already defined.
line 595 of file:/C:/xls/excelss.xsd

[ERROR] The following location is relevant to the above error
line 5047 of file:/C:/xls/excel.xsd

[ERROR] Property "DefaultColumnWidth" is already defined.
line 555 of file:/C:/xls/excelss.xsd

[ERROR] The following location is relevant to the above error
line 5057 of file:/C:/xls/excel.xsd

[ERROR] Property "DefaultRowHeight" is already defined.
line 560 of file:/C:/xls/excelss.xsd

[ERROR] The following location is relevant to the above error
line 5052 of file:/C:/xls/excel.xsd

[ERROR] Property "Fill" is already defined.
line 374 of file:/C:/xls/office.xsd

[ERROR] The following location is relevant to the above error
line 405 of file:/C:/xls/office.xsd

[ERROR] Property "Colors" is already defined.
line 422 of file:/C:/xls/office.xsd

[ERROR] The following location is relevant to the above error
line 429 of file:/C:/xls/office.xsd

[ERROR] Property "Path" is already defined.
line 597 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 616 of file:/C:/xls/vml.xsd

[ERROR] Property "Opacity2" is already defined.
line 288 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 316 of file:/C:/xls/vml.xsd

[ERROR] Property "Title" is already defined.
line 292 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 314 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 745 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 771 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 531 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 551 of file:/C:/xls/vml.xsd

[ERROR] Property "Wrapcoords" is already defined.
line 44 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 46 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 647 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 663 of file:/C:/xls/vml.xsd

[ERROR] Property "Spid" is already defined.
line 664 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 666 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 681 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 701 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 623 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 640 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 569 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 590 of file:/C:/xls/vml.xsd

[ERROR] Property "Fill" is already defined.
line 198 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 207 of file:/C:/xls/vml.xsd

[ERROR] Property "Path" is already defined.
line 711 of file:/C:/xls/vml.xsd

[ERROR] The following location is relevant to the above error
line 729 of file:/C:/xls/vml.xsd

Failed to parse a schema.
-------------------- cut here ---------------

Any ideas?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
JAXB & Excel 2003 dt Java 0 02-13-2007 07:38 PM
XML to java using JAXB ? Petterson Mikael Java 0 09-02-2003 01:50 PM
JAXB and Arabic encoding Brahim Machkour Java 3 07-27-2003 03:21 AM
JAXB, XSLT comparison Sony Antony Java 1 07-18-2003 05:57 AM



Advertisments