You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Lev Lvovsky <li...@sonous.com> on 2008/05/07 21:49:44 UTC

getLocalName vs. getNodeName

Is it correct to assume that the getLocalName method will return null  
on a DOMElement object unless a Schema has been specified?  For a very  
simple XML test file, getNodeName returns what it should, however  
getLocalName returns null.  Testing with an XML file for which the  
Schema is supplied, getLocalName works fine.

Otherwise, is there any other reason why this might be happening?

thanks!
-lev

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