You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Avril E R Styrman <as...@cs.Helsinki.FI> on 2001/04/05 19:26:54 UTC
using crimson in FIPA-OS
Hello!
I',m trying to replace too big FIPA-OS:s (==Foundation of Intelligent
Physical Agents Open Source mobile agent platform) default xerces-parser
(xerces.jar) with crimson-parser (crimson.jar).
In FIPA-OS code there is a line where the parser is created:
String xml_parser = System.getProperty( "fipaos.parser.xmlparser",
"org.apache.xerces.parsers.SAXParser")
I don't know what I should put in the place of
org.apache.xerces.parsers.SAXParser
to get the system running
Please help
Avril Styrman
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
Re: using crimson in FIPA-OS
Posted by Edwin Goei <Ed...@sun.com>.
Avril E R Styrman wrote:
>
> Hello!
>
> I',m trying to replace too big FIPA-OS:s (==Foundation of Intelligent
> Physical Agents Open Source mobile agent platform) default xerces-parser
> (xerces.jar) with crimson-parser (crimson.jar).
>
> In FIPA-OS code there is a line where the parser is created:
>
> String xml_parser = System.getProperty( "fipaos.parser.xmlparser",
> "org.apache.xerces.parsers.SAXParser")
>
> I don't know what I should put in the place of
> org.apache.xerces.parsers.SAXParser
> to get the system running
Try "org.apache.crimson.parser.XMLReaderImpl". Perhaps a cleaner
implementation would be to rewrite the FIPA-OS application to use JAXP
1.1 so that this could be done at runtime, via the pluggability feature.
-Edwin
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org