Next in thread → Next in month →

Re: [xml-dev] Including XML name prefix twice ..

From
David Carlisle <>
To
Date
2008-08-21T11:17:06Z
ID
<>
Thread
Re: [xml-dev] Including XML name prefix twice ..
> Is there any problem if we include XML name space prefix twice in the
> XML document.

Twice in the same document isn't a problem, but your example had the
same declaration twice on the same element, which means at the XML level
you have two xmlns:n2 attributes on the same element so the document is
not well formed, and will trigger a fatal parse error with any XML
application.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Next in thread → Next in month →