Hi,
    I am trying to use the property
"http://apache.org/xml/properties/dom/current-element-node";
but everytime it returns a null node (or gives
SAXException ). I am unable to figure our the problem
in my code(part of which is mentioned below), can
someone help ?


public class Tracer extends DOMParser implements
XMLErrorHandler {

...........
fConfiguration.setErrorHandler(this);
..........

public void error(String domain, String key,
XMLParseException ex)
        throws XNIException {
                        Element node =
(Element)this.getProperty("http://apache.org/xml/properties/dom/current-element-node";);
               ..................
               ..................         
                        } //end of error

.............
...........

} end of Tracer


I checked by replacing "this" by "fConfiguration" and
"super" but then also it returns the null node.

Thanks, 
Utsav

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to