Hi, I am using newInstance method to get the SchemaFactory object as below
schemafactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema"); and then with this factory (schemafactory), I am getting Schema object with newSchema method of SchemaFactory class. I also registered schemafactory with ErrorHandler. So while parsing schema, errorHandler does throw error but when I am trying to get current-element-node with below call node = (Node) sf.getProperty( "http://apache.org/xml/properties/dom/current-element-node"); it throws below exception org.xml.sax.SAXNotRecognizedException: Property 'http://apache.org/xml/properties/dom/current-element-node' is not recognized. Could you please help me what I am missing here ? Thanks Ajay --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org