From: Neera S. <nee...@gm...> - 2011-01-26 23:44:15
|
Hi All, I am trying to use DOM parser to parse the following URL http://www.helloneighbour.com/save/city-movers-and-transports-trucking-and-freight-mississauga with the following parser settings - parser.setFeature("http://cyberneko.org/html/features/augmentations", true); parser.setProperty("http://cyberneko.org/html/properties/names/elems", "lower"); I am running into the following namespace error org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. at org.apache.xerces.dom.CoreDocumentImpl?.checkNamespaceWF(Unknown Source) at org.apache.xerces.dom.ElementNSImpl.setName(Unknown Source) at org.apache.xerces.dom.ElementNSImpl.<init>(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl?.createElementNS(Unknown Source) at org.dom4j.io.DOMWriter.appendDOMTree(DOMWriter.java:181) at org.dom4j.io.DOMWriter.appendDOMTree(DOMWriter.java:158) ----- ----- I would really appreciate any help that you can provide to resolve the issue. Thanks, Neera |