You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/07/18 05:35:15 UTC

DO NOT REPLY [Bug 21701] New: - Output start-line on error

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21701

Output start-line on error

           Summary: Output start-line on error
           Product: XalanJ2
           Version: 2.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: javax.xml
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: foxyshadis@hotmail.com


Currently, when a document won't parse properly on the command-line transform,
javax.xml.transform.TransformerException is thrown with the uri and line-number
where the exception occured (usually the line where an outer tag was closed). It
would be very helpful indeed if the line where the tag in question was opened
was given.

I don't know if Xerces/Xalan actually stores that line number, though, and if
not it probably wouldn't be worth changing just to add it.

I don't know what the behavior is in servlet, since I haven't tried harnessing
it there.