[ 
http://issues.apache.org/jira/browse/XALANJ-2340?page=comments#action_12450488 
] 
            
Brian Minchau commented on XALANJ-2340:
---------------------------------------

Currently there is no way to remove the location information from the message, 
and you have correctly opened this issue as a "New Feature".  

Yes it is possible to remove it, the biggest question would be the user API to 
do this.

Are you only interested in running from the Process class?  In this case 
perhaps some sort of command line option could be created like -NOMSGLOC (no 
message location).

On the other hand if this is supposed to be used with JAXP then there would be 
some other way to configure.

- Brian



> Remove stylesheet informations when using <xsl:message> in command line
> -----------------------------------------------------------------------
>
>                 Key: XALANJ-2340
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2340
>             Project: XalanJ2
>          Issue Type: New Feature
>          Components: Xalan-CmdLine
>    Affects Versions: 2.7
>         Environment: Windows
>            Reporter: didier 
>
> I'm using Xalan 2.7.0 with Xerces 2.7.1 on a MS-DOS environment with the 
> command line utility to perform XSLT transformations (java 
> org.apache.xalan.xslt.Process -IN foo.xml -XSL foo.xsl -OUT foo.out -PARAM 
> param value).
>  
> My foo.xsl stylesheet contains several <xsl:message>STEP xxx</xsl:message> to 
> trace the steps it reaches, but the printed message is not only "STEP xxx" 
> but :
>  
> "file:///c:/my_very_complex_directory/foo.xsl ; Line x; Column y; STEP xxx".
>  
> Is it possible to remove the stylesheet file informations (which don't 
> interest users), keeping only the message in the <xsl:message> tag ?
>  
> Thanks a lot.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to