[xml-issues] [Issue 51180] DocBook -> <para></span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=allbugs@openoffice.org&q=from:%22mhosken%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">mhosken</span></span></a></span> <span class="date"><a href="/search?l=allbugs@openoffice.org&q=date:20050624" rel="nofollow">Fri, 24 Jun 2005 22:20:45 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>To comment on the following update, log in, then open the issue: <a rel="nofollow" href="http://www.openoffice.org/issues/show_bug.cgi?id=51180">http://www.openoffice.org/issues/show_bug.cgi?id=51180</a></pre><pre> ------- Additional comments from [EMAIL PROTECTED] Fri Jun 24 22:20:42 -0700 2005 ------- I think this is missing the point of the bug report. The bug is that the first paragraph of the generated document does not have the right paragraphy style. The generated .sxw XML specifies the first paragraph's style to be Document Title, but all the paragraph styles appear as default. It is not a docbook.xsl issue, but an OpenOffice xml import issue. To give further evidence of this, enclosed is a .zip file containing a MyDocbook.jar filter set (notice that the output OO->XML filter does not and is not designed to work since it is a copy of the sxw docbook based one) and the same sample test_dbk.xml. To show the problem, complete the following: 1. Install the mydocbook.jar xml filter package 2. type soffice test_dbk.xml - notice that the mydocbook xml filter is not registered (another bug, probably requiring its own bug report) 3. choose docbook, just to get the thing to open 4. Tools/XML Filter Settings 5. Choose MyDocbook 6. Press Text XSLTs... 7. select Import/Display Source 8. Import/Browse to test_dbk.xml 9. Select the displayed text 10. Open a text editor somewhere and paste into a new file 11. Save new file as content.xml 12. unzip the referenced .ott template into a temporary directory 13. copy the saved content.xml over the content.xml in the temporary directory 14. edit META-INF/manifest.xml and remove -template from the vnd.oasis.opendocument.text-template attribute value 15. zip up the temporary directory as test_dbk.odt 16. open test_dbk.odt in soffice 17. Notice that the document opens fine (I hope ;)) This shows that the XSL is generating correct XML for import into OpenOffice and therefore that the issue is not with the import filter but with the OpenOffice importing of the XML. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. <a rel="nofollow" href="http://qa.openoffice.org/issue_handling/project_issues.html#notification">http://qa.openoffice.org/issue_handling/project_issues.html#notification</a> --------------------------------------------------------------------- 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] </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg76257.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd14.html#76261">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail15.html#76261">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg76263.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg76263.html">[xml-issues] [Issue 51180] DocBook <title> -> <para&g...</a></span> <span class="sender italic">mhosken</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg76263.html">[xml-issues] [Issue 51180] DocBook <title> -> <p...</a></span> <span class="sender italic">mhosken</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[xml-issues] [Issue 51180] DocBook <title> -> <para>"> <input type="hidden" name="msgid" value="20050625052043.11565.qmail@openoffice.org"> <input type="hidden" name="relpath" value="allbugs@openoffice.org/msg76261.html"> <input type="submit" value=" mhosken "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="allbugs@openoffice.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search allbugs"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/allbugs@openoffice.org/">allbugs - all messages</a></li> <li class="icons-about"><a href="/allbugs@openoffice.org/info.html">allbugs - about the list</a></li> <li class="icons-expand"><a href="/search?l=allbugs@openoffice.org&q=subject:%22%5C%5Bxml%5C-issues%5C%5D+%5C%5BIssue+51180%5C%5D++DocBook+%3Ctitle%3E+%5C-%3E+%3Cpara%3E%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg76257.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg76263.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">20050625052043.11565.qmail@openoffice.org</li> </ul> </div> </body> </html>