From: SourceForge.net <no...@so...> - 2011-05-06 10:05:10
|
Bugs item #3297553, was opened at 2011-05-04 17:12 Message generated for change (Comment added) made by joewolf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3297553&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: Roundtrip Status: Open Resolution: None Priority: 5 Private: No Submitted By: Josef Wolf (joewolf) Assigned to: Nobody/Anonymous (nobody) Summary: Word 2003 can not load generated WordML document Initial Comment: I am trying to create a WordML file from a very simple docbook file. But when I try to load the resulting file with Word 2003, I get an error dialog that says the file can not be read. It says there is an error in line 3963 column 13. This is at the very end of the resulting file. I run those commands to create the file: ROUNDTRIP=`pwd`/docbook-xsl-ns-1.76.1/roundtrip xmllint --nonet --noout --valid myfile.xml xsltproc -o wordfile.doc --stringparam wordml.template \ $ROUNDTRIP/template.xml \ $ROUNDTRIP/dbk2wordml.xsl \ myfile.xml $ xsltproc --version Using libxml 20707, libxslt 10124 and libexslt 813 xsltproc was compiled against libxml 20707, libxslt 10124 and libexslt 813 libxslt 10124 was compiled against libxml 20707 libexslt 813 was compiled against libxml 20707 $ ---------------------------------------------------------------------- >Comment By: Josef Wolf (joewolf) Date: 2011-05-06 12:05 Message: I tried to remove the <o:Author> and <o:LastAuthor> tags, but that did not help. It's only that the error is now at line 3961 (that is, moved two lines up). ---------------------------------------------------------------------- Comment By: Mauritz Jeanson (mzjn) Date: 2011-05-05 19:42 Message: I got an "unspecified error" (line 1, Column 682) with your test file. After some trial and error, I found that removing the <o:Author> and <o:LastAuthor> elements made it possible to open the document in Word 2003. I don't know what the underlying problem is. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3297553&group_id=21935 |