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 2004/11/06 18:29:33 UTC

[jira] Updated: (XERCESJ-617) DTDGrammar should implement XMLContentSpec.Provider

     [ http://nagoya.apache.org/jira/browse/XERCESJ-617?page=history ]

Michael Glavassevich updated XERCESJ-617:
-----------------------------------------

      Assign To:     (was: Xerces-J Developers Mailing List)
           type: Wish  (was: Bug)
    Description: 
The definition of org.apache.xerces.impl.dtd.XMLContentSpec.Provider is

    static interface Provider {
        boolean getContentSpec(int contentSpecIndex, XMLContentSpec cs);
    }

The class org.apache.xerces.impl.dtd.DTDGrammar a method with such a signature,
so it should declare that it implements XMLContentSpec.Provider.  As of
Xerces2-J 2.3.0, it doesn't, making it impossible to pass a DTDGrammar to
functions that expect an XMLContentSpec.Provider argument.

  was:
The definition of org.apache.xerces.impl.dtd.XMLContentSpec.Provider is

    static interface Provider {
        boolean getContentSpec(int contentSpecIndex, XMLContentSpec cs);
    }

The class org.apache.xerces.impl.dtd.DTDGrammar a method with such a signature,
so it should declare that it implements XMLContentSpec.Provider.  As of
Xerces2-J 2.3.0, it doesn't, making it impossible to pass a DTDGrammar to
functions that expect an XMLContentSpec.Provider argument.

    Environment: 
Operating System: All
Platform: All

  was:
Operating System: All
Platform: All

       Priority: Minor

> DTDGrammar should implement XMLContentSpec.Provider
> ---------------------------------------------------
>
>          Key: XERCESJ-617
>          URL: http://nagoya.apache.org/jira/browse/XERCESJ-617
>      Project: Xerces2-J
>         Type: Wish
>   Components: DTD
>     Versions: 2.3.0
>  Environment: Operating System: All
> Platform: All
>     Reporter: dpoon
>     Priority: Minor

>
> The definition of org.apache.xerces.impl.dtd.XMLContentSpec.Provider is
>     static interface Provider {
>         boolean getContentSpec(int contentSpecIndex, XMLContentSpec cs);
>     }
> The class org.apache.xerces.impl.dtd.DTDGrammar a method with such a signature,
> so it should declare that it implements XMLContentSpec.Provider.  As of
> Xerces2-J 2.3.0, it doesn't, making it impossible to pass a DTDGrammar to
> functions that expect an XMLContentSpec.Provider argument.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org