You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "didier (JIRA)" <xa...@xml.apache.org> on 2006/11/16 17:35:37 UTC

[jira] Created: (XALANJ-2340) Remove stylesheet informations when using in command line

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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2340) Remove stylesheet informations when using in command line

Posted by "didier (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2340?page=comments#action_12450782 ] 
            
didier  commented on XALANJ-2340:
---------------------------------

Yes, we only need this option for command line uses (from Process class), because our customers run batch files and are annoyed by these messages.
We use XALAN within servlets too, but messages are just for internal trace, the current print format is useful. 

So, an option like -NOMSGLOC will be perfect.

When can this new feature be developed ?

Thanks a lot.



> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2340) Remove stylesheet informations when using in command line

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org