Re: [xml-dev] .net 6.0 XSD validator bug

From
Jirka Kosek <>
To
Mukul Gandhi <>, XML Developers List <>
Date
2022-03-29T09:07:46Z
ID
<>
Thread
Re: [xml-dev] .net 6.0 XSD validator bug
On 27.03.2022 16:14, Mukul Gandhi wrote:
> Does anyone else also feels that, the XML schema validation example I've
> cited above, is a bug with .net XSD validator? As of .net 6.0, is there any
> workaround to get the above cited example working, according to XML schema
> 1.0 spec.

Perhaps not a bug but inconvenient behaviour.

If you change namespace of your XML instance then validator can't find 
schema for this namespace. And in this situation validator behaviour 
varies -- some will complain about missing declarations and some will 
skip validation of element for which there is no corresponding schema 
declaration.

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
      Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
     Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------