You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2006/01/16 06:36:23 UTC
[jira] Assigned: (XERCESJ-618) DTDGrammar should have a public
getContentSpecIndex(int) method
[ http://issues.apache.org/jira/browse/XERCESJ-618?page=all ]
Michael Glavassevich reassigned XERCESJ-618:
--------------------------------------------
Assign To: Michael Glavassevich
> DTDGrammar should have a public getContentSpecIndex(int) method
> ---------------------------------------------------------------
>
> Key: XERCESJ-618
> URL: http://issues.apache.org/jira/browse/XERCESJ-618
> Project: Xerces2-J
> Type: Improvement
> Components: DTD
> Versions: 2.3.0
> Environment: Operating System: All
> Platform: All
> Reporter: dpoon
> Assignee: Michael Glavassevich
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org