Mike,

I have observed this error comes up when there is space or line break before <?xml .....> tag, improper opening and closing root element and lastly there are special characters that need to be escaped using xmlformat() .

Hope it helps


----- Original Message ----
From: Mike Kear <[EMAIL PROTECTED]>
To: cfaussie@googlegroups.com
Sent: Sunday, 12 November, 2006 8:43:27 PM
Subject: [cfaussie] CFForms/XML format suddenly giving error messages


Does anyone know why this might suddenly become a problem with my
CFFORMS (XML format)?   I know not many people use the XML format and
that's a pity because i think they're terrific.  Or at least i did
until this suddenly started happening.

This form is on a CMS that I've been using happily without errors for
almost a year now.  Here's the error message:

[quote]
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
[/quote]

I've checked all the obvious things - looked for files that have
changed as the possible cause of the issue,  configuratoin changes in
the site etc  and nothing on the site has changes in a way that might
cause this.

So that means something in the OS.  Is there anything that my good
friend Mr Gates might have put on in the auto updates to my XPPro that
might cause this?

Or something else i should look for?

I konw it's not the syntax of the forms, because i can remove
everything but the CFFORM tag and still get the error.   Here's the
cfform tag:


<cfform name="reasonsform" action="" method="post"
format="xml" skin="silver" scriptsrc="/cfforms/scripts">

--
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to