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 Dinesh Sarvananda <di...@thalesatm.com> on 2004/11/04 04:18:01 UTC
Different Node types returned !
Hi!
I am currently developing an application which uses the Xercesc
DOMBuilder parser, but I am finding
some issues with the way the parser sets the Node Type of Elements.
XECERC version 2.5.0
Platform Alpha Dec
Compiler cxx
When I modified the sample program and ran it with an XML Document .. it
returned the DOMDocument
as containing nodes of ELEMENT_NODE type.
But Alas! when I used it (nearly all the same code ) in my application
.. it returned it as a
DOCUMENT_NODE type and further more .. any elements within the XML file
were returned as TEXT_NODE!
I am rushing for time .. and this has really been a stumbling block ..
I will be really grateful if you all can give me an answer to this
really puzzling behaviour ..
Hoping to hear from you soon,
Thank you
Dinesh
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Different Node types returned !
Posted by Alberto Massari <am...@progress.com>.
Hi Dinesh,
can you post some code? It is hard to understand what is the problem from
this short description.
Alberto
At 14.18 04/11/2004 +1100, Dinesh Sarvananda wrote:
>Hi!
>
>
>I am currently developing an application which uses the Xercesc
>DOMBuilder parser, but I am finding
>some issues with the way the parser sets the Node Type of Elements.
>
>XECERC version 2.5.0
>Platform Alpha Dec
>Compiler cxx
>
>When I modified the sample program and ran it with an XML Document .. it
>returned the DOMDocument
>as containing nodes of ELEMENT_NODE type.
>But Alas! when I used it (nearly all the same code ) in my application
>.. it returned it as a
>DOCUMENT_NODE type and further more .. any elements within the XML file
>were returned as TEXT_NODE!
>
>I am rushing for time .. and this has really been a stumbling block ..
>I will be really grateful if you all can give me an answer to this
>really puzzling behaviour ..
>
>Hoping to hear from you soon,
>
>Thank you
>Dinesh
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org