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.


Michael Kay
Received on Tuesday, 25 August 2009 13:14:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:16 UTC