|
Hi There are a few people who raised this topic but no
solutions were given. After some digging around, I found the following
solution. However when tested it fails at the xinclude line in the xml file. Could
somebody point me to my mistake? ClassLoader cl = Thread.currentThread().getContextClassLoader(); URL url = ""> XMLReader reader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser"); reader.setFeature("http://apache.org/xml/features/xinclude",
true); XmlOptions xopt = new XmlOptions(); xopt.setLoadUseXMLReader(reader); IwfDocument idoc = IwfDocument.Factory.parse(url, xopt); /*
fails with a Xerces fatal error at the xinclude line in the xml file */ Best Regards Rao (Peruri Rama Mohan Rao) T&O-ES-Imaging & Workflow Tel: 65- 6878 2071 CONFIDENTIAL NOTE: The information contained in this email is intended only for the use of the individual or entity named above and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete the mail. Thank you. |
- Xmlbeans and Xinclude Rama Mohan Rao Peruri
- Factory.parse() takes more time kathiresan jeyapandian
- RE: Factory.parse() takes more time Radu Preotiuc-Pietro
- RE: Xmlbeans and Xinclude Radu Preotiuc-Pietro
- [ANN] VTD-XML 2.0 Jimmy Zhang
- RE: Xmlbeans and Xinclude Rama Mohan Rao Peruri
- RE: Xmlbeans and Xinclude Radu Preotiuc-Pietro

