Dear,
In order to create a valid SAX reader, I use
org.xml.sax.helpers.XMLReaderFactory
To have parsers I uploaded the springsource bundles:
- xml commons
- xerces 2.9.1
(and resolver)
Property org.xml.sax.driver says that it should use the Xerces parser.
This is what happens inside Felix:
: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at
org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:189)
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:150)
Springsource's xml commons bundle contains org.xml.sax.*, version 1.3.4,
but as soon as I add the Xerces bundle (which is a fragment bundle),
it seems to eclipse org.xml.sax.*, and from there it takes these classes
from the felix framework (version 0).
I do not understand why this is, and this is probably my problem.
I assume that these classes come from the jvm (rt.jar?). (boot
delegated? I am new to this).
However, why is it that from these classes the XMLReaderFactory cannot
load classes from the (present and resolved) xerces bundle?
Thank you for hints.
Jos Snellings
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org