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,
  ⡍⠁⠗⠊⠕

Attachment: signature.asc
Description: PGP signature

Reply via email to