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 "Gareth Reakes (JIRA)" <xe...@xml.apache.org> on 2005/03/17 10:27:20 UTC
[jira] Commented: (XERCESC-1377) Error in SAXParser! invalid namespaces
[ http://issues.apache.org/jira/browse/XERCESC-1377?page=comments#action_61096 ]
Gareth Reakes commented on XERCESC-1377:
----------------------------------------
Can you post your code here? How are you finding out what the namespace of an element is in SAX1? It is not passed into startElement.
> Error in SAXParser! invalid namespaces
> --------------------------------------
>
> Key: XERCESC-1377
> URL: http://issues.apache.org/jira/browse/XERCESC-1377
> Project: Xerces-C++
> Type: Bug
> Components: SAX/SAX2
> Versions: 2.6.0
> Environment: Windows XP
> Borland Builder 6
> Reporter: Vadim Shapovalov
> Priority: Blocker
>
> <?xml version='1.0' encoding='utf-8'?>
> <root>
> <node1 xmlns="ns1">
> <node2 xmlns="ns2">
> <c1/>
> <node1> <!-- this node must belong to ns2 not to ns1 -->
> <c2/>
> </node1>
> <c3/>
> </node2>
> </node1>
> </root>
> SAXParser tells me that root/node1/node2/node1 has ns1 namespace. it`s not good!!!
> Note that c2 has right ns2 namespace.
> I used version 2.0 and there was no such a bug there.
> If you cant fix it quickly, please tell me how to fix or avoid this bug.
--
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
-
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-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org