Apache OpenOffice (AOO) Bugzilla – Issue 6203
DTD error in office.dtd ($Id: office.dtd,v 1.6 2001/12/14 18:47:17 dvo Exp $)
Last modified: 2003-03-11 17:54:56 UTC
office.dtd references the modules drawing.mod and text.mod in the wrong order. That's because drawing.mod references the parameter entity sectionText (line 545) which is defined in module text.mod. Note that the XML Standard says explicitly "The declaration of a parameter entity must precede any reference to it." (section "Validity Constraint: Entity Declared" in chapter 4.1). To confirm that this is really a bug load an arbitrary contents.xml file into some validating editor (like XMetal 3 which I used). To correct this bug, reverse the entity references %drawing-mod; and %text-mod; in office.dtd.
Duplicate to #i3225# This was fixed in v1.7 of the office.dtd file; I think the fix will make it into the OOo 1.0.1 release. The problem is that I've never been able to verify whether XML really demands declaration before use. The validating XML parser we use (XML Spy) has no problems with this, while others do. Either way, it caused problems and thus got fixed. *** This issue has been marked as a duplicate of 3225 ***
As mentioned on the qa dev list on March 5th I will close all resolved duplicate issues. Please see this posting for details. First step in IssueZilla is unfortunately to set them to verified.
As mentioned on the qa dev list on March 5th I will close all resolved duplicate issues. Please see this posting for details.