Umm, May be the error message could have included the XML file name that
it is currently peeking into. That could have pointed you in right
direction right away. eh ?
-Prashant
Decoker, Lydie (Lydie) wrote:
Ok I think today I reached the top of my stupidity performance ....
instead of giving the schema file, I gave the schema directory ....
but to defend myself, the error message was not so explicit. :oD
L.
------------------------------------------------------------------------
*From:* Decoker, Lydie (Lydie) [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, October 17, 2006 16:12
*To:* [email protected]
*Subject:* RE: Getting SAX Exception Content is not allowed in
prolog. when using my code on Unix platform
I disable the validation feature and my xml is parsing. The
problem is so in the xsd file. I was looking in the xml.
Lydie.
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, October 17, 2006 15:48
*To:* [email protected]
*Subject:* RE: Getting SAX Exception Content is not allowed in
prolog. when using my code on Unix platform
>SAX Exception Content is not allowed in prolog.
This means you have something before the root element which is
not permitted to appear there according to the XML spec. Make
sure that NOTHING comes before the XML declaration except the
optional byte-order mark, and that NOTHING comes between the
XML declaration and the outermost element except comments,
processing instructions, and whitespace.
______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
-- "Threes" Rev 1.1 - Duane Elms / Leslie Fish
(http://www.ovff.org/pegasus/songs/threes-rev-11.html)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]