You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Gottfried Szing <go...@szing.at> on 2002/06/13 22:38:20 UTC

XMLReaderFactory

hi

i am using xerces within a j2ee-container and i have a problem
with the XMLReaderFactory. i am using the xml-reader-factory to
create a saxparser class.

the problem i face is a classnotfoundexception for the parser
class. but this happens only if i use the xmlreaderfactory within
the container. if i run the same code in a standalone application
everything is ok.

and its not a wrong classname or a typo. if i use a class.forname
instead of the XMLReaderFactory, the class is found and can be
used without a problem.

is this a wanted behaviour or is this a bug? i think the
factory-call should also work within a container - not only in a
standalone-application.

maybe i am using a wrong approach. can someone tell me what have
i done wrong?

TIA

gottfried


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org