Apache OpenOffice (AOO) Bugzilla – Issue 13726
OpenOffice output compatibility with XML Spy
Last modified: 2003-05-22 13:14:44 UTC
Several attempts to open OpenOffice output files--either "content.xml" or the DTD file for inspection by and editing with XML Spy 5.0 resulting in an XML Spy "cannot open" message. This might be a consequence of an XML standards failure (a) by OpenOffice, or (b) by XML Spy, or (c) a detail unspecified in the XML standard, and in fact handled differently by OpenOffice and XML Spy. I have reported the problem also to Altova (the XML Spy vendor). P.S. I am a "newbie" to both OpenOffice and XML Spy, so there is also a possibility (d) that I am doing something incorrectly. If the last, it can be considered somebody's usability bug.
I have no problems opening OOo XML files like content.xml with XMLSpy. What happens in fact is that the DTD files assigned to the XML file in the <!DOCTYPE> declaration are not found. The reason for this is that this the <!DOCTYPE> contains no path for this. The reason for this is that a local path on to a system (like c:\programs\office61\..) will be system dependend and a http-path would force a internet connection. Both is not very useful. The recommended way resolve such thing in XML is to evaluate the public identifier in the <!DOCTYPE> (the "-//OpenOffice.org//DTD OfficeDocument 1.0//EN"), but this requires a application dependent repository that matches these public DTD name to a file, and that seems not to be implemented in XMLSpy. The workaround is to assign the DTD file manually to the XML file. It can be found in the installation within the share/dtd folder.
Closing resolved worksforme.