xsl-list
[Top] [All Lists]

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

2005-10-28 02:27:03
Hello David
Thanks for the input. Indeed the xml generated  with <?xml version="1.0"
encoding="UTF-8"?> is a valid xml file ,  as I can see that it validates
against a schema in that external server.


Thanks and Regards
Ram



                                                                                
                                                       
                      davidc(_at_)nag(_dot_)co(_dot_)uk                         
                                                                        
                                               To:       
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com                                
               
                      10/28/2005 02:41         cc:                              
                                                       
                      PM                       Subject:  Re: [xsl] Discarding 
encoding="UTF-8" in the '<xml>'element                   
                      Please respond to                                         
                                                       
                      xsl-list                                                  
                                                       
                                                                                
                                                       
                                                                                
                                                       




  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
________________________________________________________________________

--~------------------------------------------------------------------
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>
 --~--

*************************************************************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressee(s).
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to 
alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be 
liable for the message if altered, changed or
falsified.
                              ************
Ce message et toutes les pieces jointes (ci-apres le "message") sont 
confidentiels et etablis a l'intention exclusive de ses
destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout 
message electronique est susceptible d'alteration. 
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de 
ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************

--~------------------------------------------------------------------
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>