Put the jar in the same directory as Orion.jar
That is all we have done.
Jonathan Bricker
Lilly Research Labs
Java ATG
| Bryant Bunderson <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 05/23/01 12:06 PM
|
To: Orion-Interest <[EMAIL PROTECTED]> cc: Subject: Alternate XML parser |
Does anyone know the correct way to get Orion to use the Xerces parser?
We are using an embedded entity reference in our XML files which crimson complains about. We are trying to use Xerces to parse the files. We have tried putting the xerces.jar file in our application lib directory and telling jdom to use it specifically and the application can't find the xerces classes. We have tried putting xerces.jar in every classpath we can think of but the app still can't find it.
We then tried to get Orion to use Xerces as it's default parser. Simply setting the system properties for Jaxp doesn't work. Orion will fail to load because it can't find the xerces parser. We ended up setting the Jaxp properties AND removing the crimson parser and renaming the xerces.jar file to crimson.jar. THIS IS SUCH A HACK! I generally think that Orion is a well designed product and that there must be a better way to do this.
Thanks,
Bryant
