Dwayne Schultz wrote:

On Dec 13, 2003, at 19:44, Thomas DeWeese wrote:

   The ideal thing would be to take the existing test case
for converting a 'generic' dom (which still uses the
Batik DOM) to the SVG DOM and modify it slightly to use
a Xerces parser/DOM.  Then if you choose to contribute it our
regression testing would ensure that we don't break this code
path in the future.

The existing test is:
xml-batik/test-sources/org/apache/batik/transcoder/image/ GenericDocumentTest.java

Ok, here's what I came up with. I downloaded the source and attempted to run the test suite on my mac, OS X 10.3. Here's what an 'ant regard' returned:

It looks like the test is looking for a non-existent .svg. I downloaded http://www.w3.org/Graphics/SVG/Test/20030813/archives/ W3C_SVG_1.1_FullTestsEmbeddedTestinfo.tgz as the MAINTAIN doc specifies but it doesn't contain a rendering-orderGr-BE-01.svg file.

Sorry about that, you need the 1.0 test-suite (the W3C won't let us bundle it with Batik):

http://www.w3.org/Graphics/SVG/Test/20011026/rel-20011026.zip

Failing that, I didn't try much harder to make a new test case, but I think we should be able to modify this little command line class to suit our needs:

As you can see, there is a line for Xerces' document builder and Crimson's document builder. They both give me the following ClassCastException:

I'm a bit confused since that isn't the same error I was getting late last week. If you can help me get my test environment set or help me along with the new exception I am seeing above, I would be glad to help Batik however I can.

Sure, let me know if the above pointer for the test suite get's you going...




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to