RE: [xml-dev] My report on experiments with unused namespaces

From
Richard Salz <>
To
"Costello, Roger L." <>
Date
2010-09-22T15:34:22Z
ID
<>
Thread
RE: [xml-dev] My report on experiments with unused namespaces
> > Of course it has a zillion (technical term :) false positives.
> 
> Rich, would you elaborate upon this please?

Sure.    This fails to validate because a:Root isn't legal.  It also fails 
to validate because a:child/@covertchannel isn't defined in the DTD. 
Imagine instead that the attribute is xml:id.  So that's a false positive 
-- validation failed, but the document is okay.

<a:Root xmlns:a="http://www.used.org">
        <a:child covertchannel='foo'>true</a:child>
</a:Root>

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/