To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=71105 Issue #|71105 Summary|content.xml and styles.xml fail relax NG validation. Component|Word processor Version|OOo 2.0.2 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|save-export Assigned to|mru Reported by|baol
------- Additional comments from [EMAIL PROTECTED] Thu Nov 2 02:00:39 -0800 2006 ------- I have a single file where these two files fail Relax NG validation with JING Here are the messages: /tmp/content.xml25202.odfpart:2:34688: error: attribute "with-tab" from namespace "urn:oasis:names:tc:opendocument:xmlns:style:1.0" not allowed at this point; ignored /tmp/styles.xml25204.odfpart:2:94924: error: bad value for attribute "start-value" from namespace "urn:oasis:names:tc:opendocument:xmlns:text:1.0" (the filenames are those generated by the analyzer I am currently developing) The document was created opening a .doc, cleaning out almost all the contents except the headers and footers, then revriting an ODT. Editing the XML with Emacs 22 and - removing the offending attribute from content.xml - setting the value of "start-value" to 1 (instead of 0) corrects the problem, the documents (wrong and correct) look exactly the same. Offending XML parts: from content.xml <text:index-entry-tab-stop style:type="left" style:position="5.1563in" style:leader-char="." style:with-tab="false"/> (the last attribute causes the validation to fail. Deleting it gives a valid document) from styles.xml <text:list-level-style-number text:level="1" style:num-format="1" text:start-value="0"/> (the value 0 causes the validation to fail. Setting it to 1 gives a valid document). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]