# Validate XML too strict?

**URL:** https://www.finalbuilder.com/forums/t/validate-xml-too-strict/1392
**Category:** Discussion
**Created:** [December 1, 2009, 1:57am UTC](https://www.finalbuilder.com/forums/t/validate-xml-too-strict/1392 "2009-12-01T01:57:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mjones](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mjones](https://www.finalbuilder.com/forums/u/mjones)
#### Post date: [December 1, 2009, 1:57am UTC](https://www.finalbuilder.com/forums/t/validate-xml-too-strict/1392/1 "2009-12-01T01:57:10Z")

</div>

&nbsp;I have an XSD against which I am validating files that my apps produce. I have a little app that uses the MS validator and it passes fine. We have also tried it against a commercial app's validator. However when I use the FinalBuilder XML Validate, it is failing. Do you have any clue as to why this might be?

The failure is the reference to a node that is in the XML that is not referenced in the XSD, but it is a child of an "allow anything node" of type&nbsp; which should allow anything underneath it, but is being picked up by the FinalBuilder validator.

Is there anything that I can do to relax it?

---

<div class="post-metadata">

### Author: ![mjones](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mjones](https://www.finalbuilder.com/forums/u/mjones)
#### Post date: [December 2, 2009, 10:00am UTC](https://www.finalbuilder.com/forums/t/validate-xml-too-strict/1392/2 "2009-12-02T10:00:40Z")

</div>

Okay, just to let you know, I’ve done a basic test with the MS XML code directly, and it too gives this error. Therefore it must be something that Microsoft are choosing to do now. I’ll resolve it somehow, and if relevant post the answer here.

---

<div class="post-metadata">

### Author: ![mjones](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mjones](https://www.finalbuilder.com/forums/u/mjones)
#### Post date: [December 2, 2009, 10:46am UTC](https://www.finalbuilder.com/forums/t/validate-xml-too-strict/1392/3 "2009-12-02T10:46:58Z")

</div>

Okay, on further investigation it appears that MS XML 5 is much more strict about the xs:anyType data than it had been. IN the MSDN article entitled “Improvements in XSD Standards Compliance in MSXML 6.0” it says “Content validation for xs:anyType is now lax per the W3C Schema specification. It was strict in 5.0.”   
  
 Having moved my code to use MS XML 6, it validates again. For most people this won’t matter, but making MS XML 6 an option in FB may help.   
  
 Matthew

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 2, 2009, 10:32am UTC](https://www.finalbuilder.com/forums/t/validate-xml-too-strict/1392/4 "2009-12-02T10:32:53Z")

</div>

It’s on the todo list for the next version.
