[xml/sgml-pkgs] Bug#813332: I am likely seeing the same issue

Mario Lang mlang at debian.org
Tue Feb 16 01:56:18 UTC 2016


Hi.

Trying to convert a DTD to XSD, I get:

Exception in thread "main" java.lang.NullPointerException
        at com.thaiopensource.xml.em.ResolverUriEntityManager.open(ResolverUriEntityManager.java:56)
        at com.thaiopensource.xml.em.ResolverUriEntityManager.open(ResolverUriEntityManager.java:27)
        at com.thaiopensource.xml.dtd.parse.DtdParserImpl.parse(DtdParserImpl.java:14)
        at com.thaiopensource.relaxng.input.dtd.DtdInputFormat.load(DtdInputFormat.java:144)
        at com.thaiopensource.relaxng.translate.Driver.run(Driver.java:135)
        at com.thaiopensource.relaxng.translate.Driver.main(Driver.java:44)

At first, I was suspecting my input data.  But a very simple DTD
with just one element definition fails as well:

---<snip>---
<!ELEMENT score EMPTY>
<!ATTLIST score
    version CDATA #REQUIRED>
---<snip>---

Save this as foo.dtd, and run

$ trang foo.dtd foo.xsd

to reproduce.

-- 
CYa,
  ⡍⠁⠗⠊⠕
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 635 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20160216/104b6a51/attachment.sig>


More information about the debian-xml-sgml-pkgs mailing list