[xml/sgml-pkgs] Bug#709985: element TotalTime: Schemas validity error
Mathieu Malaterre
malat at debian.org
Mon May 27 10:14:21 UTC 2013
Package: docbook-xsl
Version: 1.78.1+dfsg-1
Severity: normal
The wordml module does not seems to be working. Steps:
$ sudo apt-get install office2003-schemas
$ xsltproc --xinclude -o demo.wordml.xml --stringparam wordml.template /usr/share/xml/docbook/stylesheet/docbook-xsl/roundtrip/template.xml /usr/share/xml/docbook/stylesheet/docbook-xsl/roundtrip/dbk2wordml.xsl /tmp/demo.xml
pubdate [http://docbook.org/ns/docbook] encountered in info, but no template matches.
keywordset [http://docbook.org/ns/docbook] encountered in info, but no template matches.
subjectset [http://docbook.org/ns/docbook] encountered in info, but no template matches.
title [http://docbook.org/ns/docbook] encountered in note, but no template matches.
para [http://docbook.org/ns/docbook] encountered in note, but no template matches.
$ xmllint --noout --valid --schema /usr/share/xml/office2003/WordprocessingML/wordnet.xsd demo.wordml.xml
demo.wordml.xml:3: validity error : Validation failed: no DTD found !
rosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"
^
demo.wordml.xml:8: element TotalTime: Schemas validity error : Element '{urn:schemas-microsoft-com:office:office}TotalTime': '' is not a valid value of the atomic type 'xs:nonNegativeInteger'.
demo.wordml.xml fails to validate
-- System Information:
Debian Release: 6.0.7
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages docbook-xsl depends on:
ii xml-core 0.13 XML infrastructure and XML catalog
Versions of packages docbook-xsl recommends:
ii docbook-xml 4.5-7 standard XML documentation system
Versions of packages docbook-xsl suggests:
ii dbtoepub 0+svn8723-1 DocBook XML to .epub converter
ii docbook-xsl-doc-html [docb 1.75.2-1 stylesheets for processing DocBook
ii docbook-xsl-saxon 1.00.dfsg.1-4 Java extensions for use with DocBo
ii fop 1:1.1.dfsg-1 XML formatter driven by XSL Format
ii libsaxon-java 1:6.5.5-6 The Saxon XSLT Processor
ii libxalan2-java 2.7.1-5 XSL Transformations (XSLT) process
ii libxslthl-java 2.0.2-4 XSLT syntax highlighting
pn xalan <none> (no description available)
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demo.xml
Type: application/xml
Size: 687 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20130527/4f54eb9a/attachment.xml>
More information about the debian-xml-sgml-pkgs
mailing list