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

  • From: Jirka Kosek <jirka@k...>
  • To: Mukul Gandhi <mukulg@s...>,XML Developers List <xml-dev@l...>
  • Date: Tue, 29 Mar 2022 11:07:46 +0200

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: jirka@k... 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
------------------------------------------------------------------

Attachment: OpenPGP_signature
Description: OpenPGP digital signature



[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