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

Re: Discarding encoding="UTF-8" in the '<xml>'element

Subject: Re: Discarding encoding="UTF-8" in the '<xml>'element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Oct 2005 10:11:44 +0100
Re:  Discarding encoding="UTF-8" in the '<xml>'element
  The xml file generated has to be uploaded to an external server. The specs
  say that the tag only has to be in the format <?xml version="1.0"?>, maybe
  there is some validation being done. I am not aware of that validation but
  i know that the tag should be like <?xml version="1.0"?>.
  Is there a way to achieve this ?


<?xml is not an element so no (dtd or schema) validation can be applied
to it. If your process rejects  <?xml version="1.0" encoding="UTF-8"?>
then it does not conform to the XML specification as every XML processor
is mandated to accept this.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.