qiuwei / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
1 stars 1 forks source link

ConcurrentModificationException in DTDOuput #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
D:\users\george\workspace\jingOnGoogle\build>java -jar trang.jar -I xml -O
dtd personal.xml personal.dtd
Exception in thread "main" java.util.ConcurrentModificationException
        at
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
        at java.util.AbstractList$Itr.next(AbstractList.java:420)
        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)

D:\users\george\workspace\jingOnGoogle\build>type personal.xml
<?xml version="1.0" encoding="UTF-8"?>

<personnel>
    <person>
    </person>
</personnel>

Original issue reported on code.google.com by georgebina76 on 22 Oct 2008 at 6:12

GoogleCodeExporter commented 8 years ago

Original comment by jjc.jclark.com on 22 Oct 2008 at 6:25

GoogleCodeExporter commented 8 years ago

Original comment by jjc.jclark.com on 22 Oct 2008 at 6:26

GoogleCodeExporter commented 8 years ago
Fixed in r2046

Original comment by jjc.jclark.com on 22 Oct 2008 at 6:44

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by georgebina76 on 22 Oct 2008 at 7:04