[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Thu, 28 Oct 2010 23:32:45 +0100

On 28/10/2010 18:03, Trehan.Pankaj wrote:
2F6EDA8B5F75AE458A064965A82D4FAD16B767F359@R..." 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member