<?xml version="1.0" encoding="UTF-8"?>
<test>
<a>
<x>...</x>
</a>
<x>...</x>
</test>
D:\users\george\workspace\jingOnGoogle\build>java -jar trang.jar -I xml -O
dtd test.xml test.dtd
Exception in thread "main" java.lang.NullPointerException
at com.thaiopensource.relaxng.output.dtd.Analysis.getBody(Unknown
Source)
at com.thaiopensource.relaxng.output.dtd.DtdOutput.getBody(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$ParenthesizedContentModelOutput.
visitRef(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$ParenthesizedContentModelOutput.
visitRef(Unknown
Source)
at com.thaiopensource.relaxng.edit.RefPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$ContentModelOutput.visitGroup(Un
known
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$ContentModelOutput.visitGroup(Un
known
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$TopLevelContentModelOutput.visit
Group(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$TopLevelContentModelOutput.visit
Group(Unknown
Source)
at com.thaiopensource.relaxng.edit.GroupPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput.outputElement(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput.outputQueuedElements(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$GrammarOutput.visitDefine(Unknow
n
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$GrammarOutput.visitDefine(Unknow
n
Source)
at com.thaiopensource.relaxng.edit.DefineComponent.accept(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput$GrammarOutput.visitContainer(Unk
nown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutput.topLevelOutput(Unknown Source)
at com.thaiopensource.relaxng.output.dtd.DtdOutput.output(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.DtdOutputFormat.output(Unknown Source)
at com.thaiopensource.relaxng.translate.Driver.doMain(Unknown Source)
at com.thaiopensource.relaxng.translate.Driver.main(Unknown Source)
Original issue reported on code.google.com by georgebina76 on 23 Oct 2008 at 9:46
Original issue reported on code.google.com by
georgebina76
on 23 Oct 2008 at 9:46