[jira] Created: (XERCESC-1895) XMLReaderImpl when calling startElement without namespace, sends in empty string for ElementName, in vers 2.X it sends in the Element Name

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (XERCESC-1895) XMLReaderImpl when calling startElement without namespace, sends in empty string for ElementName, in vers 2.X it sends in the Element Name

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

XMLReaderImpl when calling startElement without namespace, sends in empty string for ElementName, in vers 2.X it sends in the Element Name
------------------------------------------------------------------------------------------------------------------------------------------

                 Key: XERCESC-1895
                 URL: https://issues.apache.org/jira/browse/XERCESC-1895
             Project: Xerces-C++
          Issue Type: Bug
          Components: SAX/SAX2
    Affects Versions: 3.0.1
         Environment: Linux X86_64
            Reporter: matt richmond


Shouldnt the call to startElement for no namespace be equivalent to version 2.X?

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


[jira] Closed: (XERCESC-1895) XMLReaderImpl when calling startElement without namespace, sends in empty string for ElementName, in vers 2.X it sends in the Element Name

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/XERCESC-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1895.
------------------------------------

    Resolution: Invalid

If namespace support is disabled, Xerces-C++ 3-series passes empty string for the local name argument since there is no such thing as 'local name' in XML without namespaces. The qname argument contains the element name in this case. Xerces-C++ 2-series used to pass local name even when the namespace support is disabled.

> XMLReaderImpl when calling startElement without namespace, sends in empty string for ElementName, in vers 2.X it sends in the Element Name
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1895
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1895
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: SAX/SAX2
>    Affects Versions: 3.0.1
>         Environment: Linux X86_64
>            Reporter: matt richmond
>
> Shouldnt the call to startElement for no namespace be equivalent to version 2.X?

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