The feature you mentioned is set to false and I still get the exception.
The stack trace is:
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/properties/dom/current-element-node
      at
org.apache.xerces.parsers.DOMParser.getProperty(DOMParser.java:496)
      at
com.ibm.amit.parser.DOMLineParser.startDocument(DOMLineParser.java:71)
      at
org.apache.xerces.impl.xs.XMLSchemaValidator.startDocument(XMLSchemaValidator.java:457)
      at
org.apache.xerces.impl.XMLNamespaceBinder.startDocument(XMLNamespaceBinder.java:444)
      at
org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(XMLDTDValidator.java:714)
      at
org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(XMLDocumentScannerImpl.java:417)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:813)
      at
org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:676)
      at
org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:252)
      at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:499)
      at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
      at com.ibm.amit.parser.Parser.toDomTree(Parser.java:122)
      at com.ibm.amit.parser.Parser.parse(Parser.java:86)
      at com.ibm.amit.adi.parser.AdiParser.main(AdiParser.java:1197)

does anyone have any other ideas why I can't use this property?

Ron.

>> 1) for some reason when I call the method:
>> 'getProperty("http://apache.org/xml/properties/dom/current-element-node
");'
>> (in the DOMParser class)
>> I get a:"org.xml.sax.SAXNotRecognizedException:

> You are using deferred DOM (read the error message you are getting).
> The property is only supported when
> "http://apache.org/xml/features/dom/defer-node-expansion"; is set to
> false.






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

Reply via email to