W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2009

RE: Unqualified elment - but still have prefix at the root

From: Michael Kay <mike@saxonica.com>
Date: Tue, 25 Aug 2009 14:13:56 +0100
To: "'Avihaimar'" <avihaimar@yahoo.com>, <xmlschema-dev@w3.org>
Message-ID: <F56A05731D254C929E3201FBF6137FB5@Sealion>
> 
> 
> I know - i can handle this XML with any prefix. Its depend on 
> the declaration in the header (xlmns).
> 
> But,
> 
> XML without any prefix will failed in validation . I want to 
> have the option to not have prefix at all and i dont know how 
> can i do this either by chanigng the xsd or the instance.
> 
> When i send example of XML to the cutomers i want to send 
> them XML with no prefix and i didnt success to have one by 
> chanigng the xsd or the instance.
> 

Your current instance document is valid against your schema.

Perhaps you can show us what you want the instance document to look like.

You don't seem to have grasped the essential point that the namespace is
significant, the prefix isn't.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 
Received on Tuesday, 25 August 2009 13:14:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:14 GMT