Is there any other xalan mailing lists that anyone knows of? I'm suprised this one seems suprisingly low-traffic (for being the official list).
Thanks.
Hi Chris,
Anything to do with retrieving and parsing documents is something that would be done by Xerces, so I suggest you try to reproduce this with a simple program that just has Xerces parse the files.
If I end up having to chase this any more on my own (IOW I don't get a resolution based on this thread) I think this is the way to go.
However, if it works fine when Xerces is reading the DTD from the w3 web server, but not fine when it's reading it from yours, I would suspect it's something to do with your web server and how the redirection is implemented.
You mention in your development environment that you only have two agents to process things. Is it possible the redirect of the DTD needs an agent available to serve the DTD, so you've got a deadlock in your web server?
I've only got 2 agents to process programs for the language I'm working in (Progress). Xalan.exe is called from a Progress program which is why the 2 agent issue got mentioned in the first place. I am fairly certain Apache simply handles the "extra" request (per transformation) for the DTD. If this is accurate, I do not believe what you suggest is the issue.
By the wa, I can't imagine spawning the Xalan executable to do a transformation will be very efficient or scalable. Is this really how you're planning on doing things in a production environment?
Well immediately, yes. I've left the transformation engine implemetation relatively modular so if needed, it should be very easy to switch transformation engines quickly. But to build the Xalan/Xerces source code in to the Progress environment is not so easy :) nor something I want to tackle unless it comes to it.
This works; it's fast. Unless someone provides a better suggestion, or a call to xalan.exe proves problematic or performance becomes an issue, it will likely stay as is for the near future.
Thanks for the reply and suggestions.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
