Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [SRB] ODF text reports: invalid root element in styles.xml | ||||||
---|---|---|---|---|---|---|---|
Product: | Base | Reporter: | mst.ooo | ||||
Component: | ReportBuilder | Assignee: | marc.neumann | ||||
Status: | CLOSED FIXED | QA Contact: | issues@dba <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P2 | CC: | issues, michael.brauer | ||||
Version: | DEV300m86 | ||||||
Target Milestone: | OOo 3.3 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | |||||||
Issue Blocks: | 111112 | ||||||
Attachments: |
|
Description
mst.ooo
2010-08-25 17:21:58 UTC
Created attachment 71397 [details]
fix problems
the second error is not in fact caused by the first; the ODF schema prescribes a specific order for the elements below the root: <define name="office-document-styles"> <element name="office:document-styles"> <ref name="office-document-common-attrs"/> <ref name="office-font-face-decls"/> <ref name="office-styles"/> <ref name="office-automatic-styles"/> <ref name="office-master-styles"/> </element> the report builder writes automatic-styles before styles, which is wrong. target 3.3 Fixed in cws dba33h Please verify. Thanks. - Execute the report as described in issue 112652 - Use the resulting odt and upload it on http://tools.services.openoffice.org/odfvalidator/ - Run test => upload:///Table1_fixed.odt/styles.xml:Error:Invalid root element: office:document-content upload:///Table1_fixed.odt/styles.xml[2,2945]:Error:tag name "office:styles" is not allowed. Possible tag names are: <body> should be fixed verified in CWS dba33h find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba33h |