DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17079>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17079 DTDGrammar should have a public getContentSpecIndex(int) method Summary: DTDGrammar should have a public getContentSpecIndex(int) method Product: Xerces2-J Version: 2.3.0 Platform: All URL: http://xml.apache.org/xerces2- j/javadocs/xerces2/org/apache/xerces/impl/dtd/DTDGrammar .html OS/Version: All Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] DTDGrammar already has public methods .getFirstElementDeclIndex() .getNextElementDeclIndex() .getElementDecl(int, XMLElementDecl) .getContentSpec(int, XMLContentSpec) that expose the elements and content specs of the DTD. It would be very useful to add a public .getContentSpecIndex(int) method analogous to the existing protected .setContentSpecIndex(int, int) so that one ask which content spec goes with each element. A clumsy workaround for the lack of .getContentSpecIndex(int) would be to break privacy by using reflection. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
