You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Patrick Pfeifer (JIRA)" <xe...@xml.apache.org> on 2006/09/11 10:32:27 UTC

[jira] Created: (XERCESC-1629) No parsing of DOMEntityReference nodes out of xml attributes

No parsing of DOMEntityReference nodes out of xml attributes
------------------------------------------------------------

                 Key: XERCESC-1629
                 URL: http://issues.apache.org/jira/browse/XERCESC-1629
             Project: Xerces-C++
          Issue Type: Bug
          Components: Non-Validating Parser
    Affects Versions: Nightly build (please specify the date)
            Reporter: Patrick Pfeifer


Message-ID: 7.0.1.0.2.20060911092316.062b3f28 () datadirect ! com
[Download message RAW]

Hi Patrick,

At 17.09 10/09/2006 +0200, Patrick Pfeifer wrote:
>Hi!
>
>Using the AbstractDOMParser interface implementation
>with the IGXMLScanner I noticed there is no support
>for the creation of DOMEntityReference nodes out of
>references in XML attributes. When will this be
>implemented? In my application I need to know if the
>value of an xml attribute was hardcoded or read from
>an (internal or external) entity declaration in the
>xml file. I already make use (and this functionality
>is implemented) of creating DOMEntityReference nodes
>as childs of DOMAttribute nodes when writing to XML.
>In the code I noticed there is no kind of an internal
>entity reference class that can be used together with
>the XMLAttr class to store the entity reference
>information by the Scanner until it can be written
>into the DOM tree by the AbstractDOMParserImpl class.

There is no support in the Scanner interface for reporting entity 
references found inside attribute values, and adding it is not an 
easy task, so it has never been attempted... I can only suggest you 
to open a JIRA bug for it, so that it is logged.

Thanks,
Alberto

-- 
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1629) No parsing of DOMEntityReference nodes out of xml attributes

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1629:
-------------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Wish  (was: Bug)

> No parsing of DOMEntityReference nodes out of xml attributes
> ------------------------------------------------------------
>
>                 Key: XERCESC-1629
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1629
>             Project: Xerces-C++
>          Issue Type: Wish
>          Components: Non-Validating Parser
>    Affects Versions: Nightly build (please specify the date)
>            Reporter: Patrick Pfeifer
>            Priority: Minor
>
> Message-ID: 7.0.1.0.2.20060911092316.062b3f28 () datadirect ! com
> [Download message RAW]
> Hi Patrick,
> At 17.09 10/09/2006 +0200, Patrick Pfeifer wrote:
> >Hi!
> >
> >Using the AbstractDOMParser interface implementation
> >with the IGXMLScanner I noticed there is no support
> >for the creation of DOMEntityReference nodes out of
> >references in XML attributes. When will this be
> >implemented? In my application I need to know if the
> >value of an xml attribute was hardcoded or read from
> >an (internal or external) entity declaration in the
> >xml file. I already make use (and this functionality
> >is implemented) of creating DOMEntityReference nodes
> >as childs of DOMAttribute nodes when writing to XML.
> >In the code I noticed there is no kind of an internal
> >entity reference class that can be used together with
> >the XMLAttr class to store the entity reference
> >information by the Scanner until it can be written
> >into the DOM tree by the AbstractDOMParserImpl class.
> There is no support in the Scanner interface for reporting entity 
> references found inside attribute values, and adding it is not an 
> easy task, so it has never been attempted... I can only suggest you 
> to open a JIRA bug for it, so that it is logged.
> Thanks,
> Alberto

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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