Hello.
I'm trying to resolve problem concerning use of crimson with argouml. Latest
CVS version loads document fine using xerces-j 1.4.4, but fails using crimson
1.1.3, with following message: "unable to resolve relative URI with no base
URI"
Here is code snipplet:
public abstract class SAXParserBase extends HandlerBase {
[...]
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setNamespaceAware(false);
factory.setValidating(false);
try {
SAXParser parser = factory.newSAXParser();
InputSource input = new InputSource(is);
parser.parse(input,this);
}
[...]
}
I found that resolveEntity() callback occurs using xerces-j, but not with
crimson. I tried to register explicitly the class as entity resolver :
parser.getXMLReader().setEntityResolver(this);
No more success.
Any help appreciated
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
---------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]