Forwarding this to xalan-j-users (just so it is put in the archives, and
seen to be resoved).
- Brian
----- Forwarded by Brian Minchau/Toronto/IBM on 10/22/2007 12:59 PM -----
"Jacek Olszak"
<[EMAIL PROTECTED]
l.com> To
Brian Minchau/Toronto/[EMAIL PROTECTED]
10/22/2007 11:04 cc
AM
Subject
Re: Fw: TrAX configuration
On 10/22/07, Brian Minchau <[EMAIL PROTECTED]> wrote:
>
> 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.
>
Yes, you have right.
> I didn't quite understand your reply. Is your solution, or perhaps a
> workaround, to use org.apache.xalan.transformer.TransformerImpl?
>
Yes, exactly. I've found that when I use
org.apache.xalan.processor.TransformerFactoryImpl instead of
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl or
org.apache.xalan.xsltc.trax.TransformerFactoryImpl to initialize TrAX
everything is working well. In SUN implementation there is no
com.sun.org.apache.xalan.processor.TransformerFactoryImpl or something
like that so there is only one way to resolve the problem - use
external Xalan jar instead.
Best regards,
Jacek
> - Brian
> - - - - - - - - - - - - - - - - - - - -
> Brian Minchau, Ph.D.
> XSLT Development, IBM Toronto
> e-mail: [EMAIL PROTECTED]
>
> ----- Forwarded by Brian Minchau/Toronto/IBM on 10/22/2007 10:38 AM -----
>
> "Jacek Olszak"
> <[EMAIL PROTECTED]
> l.com>
To
> Brian Minchau/Toronto/[EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]> 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"
> > <[EMAIL PROTECTED]
> > l.com>
> To
> > [email protected]
> > 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
> >
> >
> >
>
>