[umbrello] [Bug 409411] Export to XHTML generates empy html file
Oliver Kellogg
bugzilla_noreply at kde.org
Sun Feb 27 20:41:19 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=409411
Oliver Kellogg <okellogg at users.sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |okellogg at users.sourceforge.
| |net
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #2 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to Ralf Habacker from comment #1)
> [...]
> https://commits.kde.org/umbrello/c6002b5c68592932a64bb194449d2e884725631f
The sections "actors", "usecases", "interfaces", "classes" in the generated
docbook continue to be empty after that change:
<article role="specification">
<section id="actors">
<title>Actors</title>
</section>
<section id="usecases">
<title>Use Cases</title>
</section>
<section id="interfaces">
<title>Interfaces</title>
</section>
<section id="classes">
<title>Classes</title>
</section>
[...]
umbrello/umldoc.cpp commit 847b6e0d (2017-02-20) set the supported UML version
in XMI file header to 1.4:
@@ -2015,13 +2015,13 @@ void UMLDoc::saveToXMI1(QIODevice& file)
QDateTime now = QDateTime::currentDateTime();
root.setAttribute(QLatin1String("timestamp"), now.toString(Qt::ISODate));
root.setAttribute(QLatin1String("verified"), QLatin1String("false"));
- root.setAttribute(QLatin1String("xmlns:UML"),
QLatin1String("http://schema.omg.org/spec/UML/1.3"));
+ root.setAttribute(QLatin1String("xmlns:UML"),
QLatin1String("http://schema.omg.org/spec/UML/1.4"));
doc.appendChild(root);
However, the umbrello/docgenerators/xmi2docbook.xsl continues to use
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:UML="http://schema.omg.org/spec/UML/1.3"
exclude-result-prefixes="UML">
libxslt apparently performs a consistency check on the xmlns URI between the
stylesheet and the XML input file.
On the version mismatch, xsltApplyStylesheet() does not return an error but
silently refuses to carry out the transformations.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list