|
RE: Re[2]: Xerces 1 use in XMLC: msg#00012java.enhydra.xmlc
Jacob,
I was
trying to run the unit tests, but I encountered some problems. The plan was to
run the unit tests on a freshly-checked-out version of xmlc first, and then
rerun them with my modifications to see if there were any
failures....
Unfortunately, some unit tests seem to fail on the stock xmlc itself
(haven't gotten to the tests with my changes yet).
I am
using redhat linux with j2sdk1.4.1, ant 1.5.1. I tried to run the tests with and
without jikes1.17, and I get different results. Could anybody look at the output
and tell me what might be wrong? I am attaching 2 files (one for the javac test
and the other for jikes)....
Thanks,
Enrico.
Sounds like a lot of trouble, but if that is what you need, then so be it. >One thing that might work, in relation with Tomcat-4.1.xx, is to leave Yes, probably, however, there is nothing particularly wrong with Xerces-1.4.4's xml parsing. It provides the same standard packages as Xerces-2. It is just that Xerces-1.4.4 was getting unwieldy to continue development on and they wanted to have a clean-room version that they could optimize and such. If an app sticks with the standard xml parsing libraries and doesn't use Xerces extensions, then either parser should work. Heck, you should be able to use Crimson. However, if your packages do you xerces extensions (like xmlc-2.1 does) then you will marry yourself to a particular version of Xerces. Hopefully future releases of XMLC can get away from that dependency. >That said, most apps, if they just use the standard XML parser api's, I think there were some minor fixes to JTidy. You should be able to query CVS to get the mod's done to the original. Not sure of the actual command to use. Maybe Richard Kunze can help out here? Again, I think this is just a hack, but it might get our dev. team somewhere while we wait for the xerces2 port (now that I dug into the code, I can see why it would take some time..). My next plan is to run all the XMLC unit tests and see if this behaves as expected. (I already managed to compile and test some simple html/java files....). Nice! One more question: is there any code that would allow xmlc recompilation on the fly for jetty? I noticed there was some code which was specific to enhydra and tomcat, but nothing about jetty... Recompilation was turned off by default because it was app specific. You can enable it if you build it from scratch and include the enhydra libraries. Of course, it would still be for enhydra recompilation. Richard is working on a generic reloading feature which should be out in the next release if it isn't already in CVS. Sounds like your effort will bear fruits for you. Just sounds like a lot of trouble to go to. Hopefully we'll have a release with Xerces-2.x.x support sometime soon! Enrico.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Re[2]: Xerces 1 use in XMLC, Jacob Kjome |
|---|---|
| Next by Date: | Re[4]: Xerces 1 use in XMLC, Jacob Kjome |
| Previous by Thread: | RE: Re[2]: Xerces 1 use in XMLC, Mark Diekhans |
| Next by Thread: | Re[4]: Xerces 1 use in XMLC, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |