You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2018/08/20 15:48:03 UTC

[Bug 62642] New: [xslt] [Fatal Error] xsl-sample.xsl:1:1: Content ...

https://bz.apache.org/bugzilla/show_bug.cgi?id=62642

            Bug ID: 62642
           Summary: [xslt] [Fatal Error] xsl-sample.xsl:1:1: Content ...
           Product: Ant
           Version: 1.10.5
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: playit@steinfurt.org
  Target Milestone: ---

This task

<xslt in="${src}/xml-sample.xml" out="${build}/target.html"
style="${src}/xsl-sample.xsl" />

builds successful.

but this not

<xslt in="${src}/xml-sample.xml" out="${build}/target.html">
    <style><string value="${src}\xsl-sample.xsl" /></style>
</xslt>

it ends up with:

[xslt] Loading stylesheet <path>\xsl-sample.xsl
[xslt] [Fatal Error] xsl-sample.xsl:1:1: Content is not allowed in prolog.


both tasks are using exactly the same files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62642] [xslt] [Fatal Error] xsl-sample.xsl:1:1: Content ...

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62642

--- Comment #1 from oh no <pl...@steinfurt.org> ---
sorry

<style><file name="${src}\xsl-sample.xsl" /></style>

works

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62642] [xslt] [Fatal Error] xsl-sample.xsl:1:1: Content ...

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62642

oh no <pl...@steinfurt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.