#62 inadequate validation of schema documents

PyXB 2.0.0
accepted
None
Component model
minor
PyXB 1.0.0
defect
2014-11-27
2009-11-29
No

An invalid declaration like:

  <xs:complexType name="Foreign">
    <xs:element name="child" type="xs:string"/>
  </xs:complexType>

will quietly create a type with empty content. It should complain about the invalidity of the document.

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2009-12-02
    • status changed from new to accepted
    • milestone changed from PyXB 1.1.0 to PyXB 1.1.1
     
  • Peter A. Bigot

    Peter A. Bigot - 2010-01-28
    • milestone changed from PyXB 1.1.1 to PyXB 2.0.0
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks