You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/08/24 17:10:39 UTC

DO NOT REPLY [Bug 30826] New: - Characters in directory names are converted to HTTP conformance during XSL transform

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30826

Characters in directory names are converted to HTTP conformance during XSL transform

           Summary: Characters in directory names are converted to HTTP
                    conformance during XSL transform
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: victor.engmark@cern.ch


When using the "style" element, the location '.' is used to refer to the
directory with the file to be transformed. This is not the local name of the
directory in question, but rather the HTTP equivalent of it. I.e., space
characters are replaced with "%20" during transformation, creating a new
directory tree with the resulting documents.

Example: I used the code below to transform a checkstyle report to HTML. When
the transformation was finished, a new directory tree had been created, with the
only discernable difference that spaces in directories had been replaced with "%20".

<style in="${build-checkstyle.dir}/checkstyle_report.xml"
out="${build-checkstyle.dir}/checkstyle_report.html"
style="${checkstyle-lib.dir}/checkstyle-frames.xsl"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org