On Mon, 2004-02-16 at 20:31, Dave Watts wrote:
> > I've just installed CFX_XSLT, the example file ran fine.  
> > However, test calling an XSL tranformation file, got an
> > error, "javax.xml.transform.TransformerConfigurationException:
> > javax.xml.transform.TransformerException:
> > org.xml.sax.SAXParseException: Document root element
> > is missing.  
>
> This might be a stupid question, but are you sure your XSL file and your
> original XML file are both well-formed?
I concur, that error is either you are passing in a badly formed xml
doc, no xml doc, or an xml document with back characters (which is
really just a malformed xml document)

>
> > My env: Windows XP machine with CF6.0.
>
> Is there a reason you can't just use the built-in XSLT functionality of CFMX
> 6.0? I think the function name in question is XMLTransform.
I am not 100% but I think that process uses the DOM while some other
tags use SAX (SAXParseException) that may be why he is using it (just
thought I'd jump in)

> > I read a forum, about this error, and its advice on reverse
> > back to JRE 1.3.1_06.  But I'm already on 1.3.1.
>
> Have you tried newer JVMs?
I don't think the VM would be a problem especially since jre1.3 is a
java2.

--
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to