XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Duplicate namespace declaration

On 28/10/2010 18:03, Trehan.Pankaj wrote:
2F6EDA8B5F75AE458A064965A82D4FAD16B767F359@RNOMBX01.is.ad.igt.com" type="cite">

Hi All,

We have XML data stream  that has two declaration of the same namespace. For example:

 

<?xml version="1.0" encoding="UTF-8"?>

<TestMessage xmlns="http://www.abcstandards.com/v1.0.31" xmlns:ns1="http://www.abcstandards.com/v1.0.31">

 

</TestMessage>

 

Is it valid?

 



Yes. It's even common practice in some contexts, such as schema documents.

Michael Kay
Saxonica


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS