JAXB & Excel 2003

D

dt

I downloaded Microsoft Office 2003 Reference Schemas from:

http://www.microsoft.com/downloads/...52-3547-420a-a412-00a2662442d9&displaylang=en

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top