Thanks. I'm not quite sure what you mean, so please forgive my ignorance. By
pointing the factory to my Impl classes, do you mean point to it via normal
jaxp route, ie the system property, $java.home/lib/xml.properties,
META-INF/services/javax.xml.transform.TransformerFactory, default route? If
so, I'm not sure how to repeat that search but omitting my Impl classes (the
system property would still point to my impl, or xml.properties might, or
META-INF/... might etc). (I assume it would be not allowed and/or a very bad
idea to produce a customised TransformerFactory). Or perhaps I could just
provide a jaxp like API to my impl, using different system property, etc,
which could use standard jaxp to do xslt.

How does it currently work in server environments, for example, if one
person uses Saxon specific extensions for one servlet, and another person
uses a xalan extension (I guess if you use processor specific functionality
its reasonable not to assume they'll work if you use TrAX and you don't
control the environment).

One thing I didn't mention (stage 2) is different engines for different bits
of the same transformation; for example, transforming an XML message which
contains a document oriented XML payload. The message may require
transformation using one engine, whereas an XSLT stylesheet may be used to
transform the payload into xhtml. Then there's multiple inputs and
outputs.... Here you would use engine specific function, eg document(), the
multiple output extensions of xslt processors, etc?





-----Original Message-----
From: Shane Curcuru [mailto:[EMAIL PROTECTED]
Sent: 08 December 2001 14:54
To: [EMAIL PROTECTED]
Subject: Re: trax


OK, I sent a nice little essay on this to the list, but my mailer must
have eaten it.  I'll write again Monday.

I think I know what you're saying; I don't really think that JAXP
currently really has support conceptually for what you want to do.  You
could always point the factory to your impl classes, and then when you
evaluate the type of source, you could call a custom method that you
would need to copy and modify from FactoryFinder.java that does the
JAXP lookups, but ignores your impl and only finds other ones.  (Let me
know if you get the idea or I need to actually write it comprehensibly
when I'm actually awake 8-)

- Shane

=====
<eof aka="mailto:[EMAIL PROTECTED]"
 BartSays="Nobody reads these anymore."/>

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

Reply via email to