You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Sc...@lotus.com on 2001/01/09 19:27:27 UTC

Re: Found CVS; did some experimentation

Hi David.  Sorry, this has been on my radar, but I hadn't addressed it yet.
I just applied, commited, and attributed your patch.

As I looked more closely at your patch, I realize that it is indeed more
than a fallback.  I might do a little more work on it (or you can)... I
think what it should really be doing is creating a SourceLocator object
from the line, column, and SystemID info, and passing that into the
constructor for TransformerException, rather than messing with the message
text.  This also avoids the issue of internationalizing the hard-coded
strings.

-scott




                                                                                                                   
                    David                                                                                          
                    Eisenberg            To:     Scott_Boag@lotus.com                                              
                    <david@catcod        cc:                                                                       
                    e.com>               Subject:     Found CVS; did some experimentation                          
                                                                                                                   
                    01/09/2001                                                                                     
                    12:08 PM                                                                                       
                                                                                                                   
                                                                                                                   




I did a Google search for "xalan CVS" and found the from-cvs
directory.

I downloaded this file:

   xml-xalan_20010109115313.tar.gz

and built Xalan, and ran "org.apache.xalan.xslt.Process" with an invalid
XML file.  It gave this error mesage:

   XSLT Error (javax.xml.transform.TransformerException): TRaX Transform
   Throwable

Running it on the version with my patch gave this:

   XSLT Error (javax.xml.transform.TransformerException): The value of
   attribute "src" must begin with either a single or double quote
   character.
   Line 8 Column 9

---
J. David Eisenberg
http://catcode.com