[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: process instruction declaration

Subject: RE: process instruction declaration
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 29 Mar 2005 23:28:56 +0100
xml process instruction
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@xxxxxxxxxxxxx [mailto:04083259@xxxxxxxxxxxxx] 
> Sent: 29 March 2005 22:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.