quote:
Originally posted by:
Newsgroup User
How did you verify this?
I ran some very helpful code from Ben Nadel at
http://www.bennadel.com/index.cfm?dax=blog:1206.view
that basically gets the first few characters of the parsed xml and
outputs them with Asc(). After running that code I had no extra
characters in there.
I did sort out this issue though. I had quotes around the
first parameter:
<CFSET errorStructure = XmlValidate("xmlObject", "
http://www.myserver.com/MyXsd.xsd")>.
When I removed the quotes the "Content is not allowed in prolog"
error went away but I came back to the original problem I reported
about in another thread. Namely, the code would run for about 30
seconds and then a JRun Servlet Error is returned with "500 null"
on the page.
It turns out THAT issue was because I had <xs:include
schemaLocation="DocumentCommon.xsd"/> in the xsd file being
called in XmlValidate. Once I copied and pasted the code in
DocumentCommon.xsd into the called xsd, replacing the
<xs:include schemaLocation>, it worked.
Very frustrating.