What steps will reproduce the problem?
1. Use trang to convert the rng to dtd
2.
3.
What is the expected output? What do you see instead?
I expect it to work without the exception.
I get the following exception:
Caused by: org.xml.sax.SAXParseException: sorry, not handled: duplicate
declaration of element "Name" from namespace
"http://www.progress.com/DuplicateElementTest"
at
com.thaiopensource.relaxng.output.common.ErrorReporter.makeParseException(Unknow
n
Source)
at com.thaiopensource.relaxng.output.common.ErrorReporter.error(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitElement(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitElement(Unknown
Source)
at com.thaiopensource.relaxng.edit.ElementPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.analyzeContentType(Unkno
wn
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitElement(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitElement(Unknown
Source)
at com.thaiopensource.relaxng.edit.ElementPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.analyzeContentType(Unkno
wn
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitGroup(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitGroup(Unknown
Source)
at com.thaiopensource.relaxng.edit.GroupPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.analyzeContentType(Unkno
wn
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitElement(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitElement(Unknown
Source)
at com.thaiopensource.relaxng.edit.ElementPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.analyzeContentType(Unkno
wn
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitDefine(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitDefine(Unknown
Source)
at com.thaiopensource.relaxng.edit.DefineComponent.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitContainer(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitGrammar(Unknown
Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.visitGrammar(Unknown
Source)
at com.thaiopensource.relaxng.edit.GrammarPattern.accept(Unknown Source)
at
com.thaiopensource.relaxng.output.dtd.Analysis$Analyzer.analyzeContentType(Unkno
wn
Source)
at com.thaiopensource.relaxng.output.dtd.Analysis.<init>(Unknown Source)
at com.thaiopensource.relaxng.output.dtd.DtdOutputFormat.output(Unknown
Source)
at com.iona.artix.ds.metadata.DTDExporter.run(DTDExporter.java:79)
... 4 more
What version of the product are you using? On what operating system?
We are using trang-20081028.jar across platforms
Please provide any additional information below.
The rng and xsd representations are attached
Original issue reported on code.google.com by divan.mo...@gmail.com on 7 Apr 2009 at 9:10
Original issue reported on code.google.com by
divan.mo...@gmail.com
on 7 Apr 2009 at 9:10Attachments: