xsl-list
[Top] [All Lists]

RE: process instruction declaration

2005-03-29 15:28:56
Your documents can contain an XML declaration, but the rules of XML say that
it can only appear right at the start of the document. XQuery is an XML
query language, it's no use with non-XML documents.

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: 04083259(_at_)brookes(_dot_)ac(_dot_)uk 
[mailto:04083259(_at_)brookes(_dot_)ac(_dot_)uk] 
Sent: 29 March 2005 22:45
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] process instruction declaration 

hi

i have xml declaration for every soap messages , so do i have 
to delete
them  in order to get a well form xml when ever i send query

thanks







-----Original Message-----
This error message is coming from the XML parser, not from 
Saxon itself.

It probably means that there is an XML declaration such as <?xml
version="1.0"?> somewhere other than at the start of your XML 
file, which
means the XML is not well-formed.

Michael Kay
Saxonica Limited




-----Original Message-----


 the following error message occure every time try to submite
 xquery usining
 saxon 7.9
 the program is client server application impleminting using java

 thanks





 [Fatal Error] :7:6: The processing instruction target matching
 "[xX][mM][lL]" is
  not allowed.
 Parsing failure: org.xml.sax.SAXParseException: The
 processing instruction
 targe
 t matching "[xX][mM][lL]" is not allowed.






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>