logo       

Fw: TrAX configuration: msg#00021

java.helma.antville.user

Subject: Fw: TrAX configuration


Hi Jacek,

Generally speaking org.apache.xalan.xsltc.trax.TransformerImpl is an Apache
class (though IBM bundles this class in some of its JREs).

The class com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl,
though derived from the Apache class
org.apache.xalan.xsltc.trax.TransformerImpl is a class that belongs to SUN
not Apache. If you have a problem with this transformer then you need to
take the problem up with SUN.

I didn't quite understand your reply. Is your solution, or perhaps a
workaround, to use org.apache.xalan.transformer.TransformerImpl?

- Brian
- - - - - - - - - - - - - - - - - - - -
Brian Minchau, Ph.D.
XSLT Development, IBM Toronto
e-mail: minchau@xxxxxxxxxx

----- Forwarded by Brian Minchau/Toronto/IBM on 10/22/2007 10:38 AM -----

"Jacek Olszak"
<jacekolszak@gmai
l.com> To
Brian Minchau/Toronto/IBM@IBMCA
10/22/2007 03:54 cc
AM
Subject
Re: TrAX configuration










Hi Brian,

Thank for reply! I'm using
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl bundled
with JRE 1.6.0. But I've found that when I add xalan 2.7 jar do
classpath the meta tag is not adding. So - the resolution is to add
xalan do classpath instead of using xalan bundled with JRE.

Best regards
Jacek

On 10/22/07, Brian Minchau <minchau@xxxxxxxxxx> wrote:
> Hi Jacek.
>
> Your setting of this non-standard property, including the namespace for
it,
> looks like it is correct.
>
> Which transformer are you using?
> org.apache.xalan.transformer.TransformerImpl (Xalan's interpreter) or
> org.apache.xalan.xsltc.trax.TransformerImpl (Xalan's XSTLC)?
>
> I have the feeling that the interpreter is going to honour setting this
> extension output property but XSLTC might not.
>
> Have you tried setting this property in the stylesheet rather than
through
> JAXP? Have you tried the interpreter?
>
> - Brian
>
>
>
>
> "Jacek Olszak"
> <jacekolszak@gmai
> l.com>
To
> xalan-j-users@xxxxxxxxxxxxxx
> 10/21/2007 03:02
cc
> PM
>
Subject
> TrAX configuration
>
>
>
>
>
>
>
>
>
>
> Hi everyone!
>
> I use TrAX for identity transformations. I'm looking for a way to
> enable output property called omit-meta-tag. I've tried to set it
> using transformer.setOutputProperty method but it doesn't work:
>
>
transformer.setOutputProperty("{http://xml.apache.org/xalan}omit-meta-tag";,
> "yes");
>
> Is it possible to set this property using only TrAX API ?
>
> Thanks in advance,
> Jacek
>
>
>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise