JAXB & Excel 2003
- From: "dt" <daytues@xxxxxxxxx>
- Date: 15 Feb 2007 05:58:17 -0800
I downloaded Microsoft Office 2003 Reference Schemas from:
http://www.microsoft.com/downloads/details.aspx?familyid=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 Work***
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?
.
- Prev by Date: java study materials
- Next by Date: Re: Eclipse and JRE Javadoc
- Previous by thread: java study materials
- Next by thread: Java 5-ify my code
- Index(es):