[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    =?utf-8?Q?[jira]_Cr=C3=A9=C3=A9e:_(XALANJ-2299)_"Not_supported"_message_?=
From:       "Guillaume Nobiron (JIRA)" <xalan-dev () xml ! apache ! org>
Date:       2006-06-01 16:00:30
Message-ID: 7716146.1149177630857.JavaMail.jira () brutus
[Download RAW message or body]

"Not supported" message when trying to set attribute source_location from ant
-----------------------------------------------------------------------------

         Key: XALANJ-2299
         URL: http://issues.apache.org/jira/browse/XALANJ-2299
     Project: XalanJ2
        Type: Bug

  Components: Xalan-extensions  
    Versions: 2.7    
 Environment: Apache Ant 1.6.5
Java 1.5.0_06

    Reporter: Guillaume Nobiron


I am trying to set the attribute http://apache.org/xalan/features/source_location \
with the value true in order to use the lineNumber() function in an xslt stylesheet.

I call xalan from an ant script:
<xslt in="${params.dir}/jboss-log4j.xml"
   out="check.xml"
   style="${xsl.dir}/check_jboss-log4j.xsl"
   classpathref="xslt.classpath"
   force="true">
  <factory>
    <attribute name="http://xml.apache.org/xalan/features/source_location" \
value="true"/>  <attribute name="http://xml.apache.org/xalan/features/optimize" \
value="true"/>  </factory>
</xslt>

The "optimize" attribute is recognized (I know true is the default) but when I add \
the line with for source-location, the following error is returned by xalan:  Not \
supported: http://xml.apache.org/xalan/features/source_location

I am using the latest version of Xalan (2.7.0). I ran a stylesheet that output the \
result of xalan:checkEnvironment to be sure :  <item key="version.xalan2_2">Xalan \
Java 2.7.0</item>  <item key="version.xalan1">not-present</item>

Is there a new way to enable the SourceLocator ? I also tried with the documented uri \
http://apache.org/xalan/features/source_location with no success.



-- 
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic