You could try dropping the updated Batik jar files into $APTCUSTOM/classes, and they should override the default library in the Arbortext install tree. There's a decent chance it won't work though, especially if any of the interfaces have changed between Batik versions.
There may also be entity resolution issues depending on where your SVG files and the corresponding external entities live. I haven't used SVG with external entities before, so I don't know what Batik uses for entity resolution, but it may work differently than it does in Arbortext, so even if the updated Batik library works you may have to do some tweaking of your file setup to get everything where it can be found.
I thought of that and will give it a try. My confidence level for this to work is not terribly high and was wondering if anyone has had definitive success. I'll give it a try and let you know what I find.
Overriding the Batik library didn't seem to help. The interesting thing is that it worked on occassion yesterday. Today I find that it works, but only with entity files that have a limited number of entries. My original entities file has about 250 entries plus comments, and the SVG fails to display. If I cull the entities file down to just a few entries (10-20), it works.
Thanks for the update. That sounds like an issue with the Batik library itself. It might be worth checking the Apache home page for the library to see if the limit on number of entities is a known issue.
Do you get a Java exception when it fails? If so, it might be worth examining the stack trace to see if it gives you any hints about what is going wrong. You should be able to see this by opening the Java console (from either Tools->Java console for 5.3 or Tools->Administrative Tools->Java Console for 5.4) *before* you load the bad SVG file.
I haven't found any capacities on the Batik library. I am currently looking through the bug database to see if there is anything there.
When I 'overload' the entities file, there is no error or warning thrown. The only indication is the typical missing or invalid graphic symbol in the Editor interface.
My problem is that I had invalid byte order in my entities file. After correcting this, I can now load the entire entities file (22kb) in the SVG doctyle subset. Yea!
What about the updated Batik jar files? Are they part of the solution or did you remove them from $APTCUSTOM/classes?
Just curious...
David
David S. Taylor
Project Manager, Structured Information Institute for Research in Construction National Research Council Canada Bldg. M-23A, Room 239 1200 Montreal Road, Ottawa, ON K1A 0R6
Initially I had the solution working with the updated Batik library. I have since removed the custom Batik classes and re-tested the document. There appears to be no difference. I originally thought that the problem was an SVG specification difference between 1.0 and 1.1. However, since what I am doing violates SVG best practices and uses the technology outside of the intent for which it was created, I guess it doesn't really matter which spec. implementation I abuse.