commit | 4609e6c980b256e4115d4b7e1227f59870465995 | [log] [tgz] |
---|---|---|
author | Remi Gacogne <rgacogne-xml@coredump.fr> | Fri May 11 15:31:05 2012 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Fri May 11 15:31:05 2012 +0800 |
tree | 1ffa005f813b492430f6680562a316782cf38d89 | |
parent | 39d027cdb74371d64f68dc488556be41e1d14546 [diff] |
XSD: optional element in complex type extension For https://bugzilla.gnome.org/show_bug.cgi?id=609796 Libxml2 fails to validate an instance document against a schema if an element whose type is a complex extension of some base type with an optional child element and that child element is not specified in the instance document. For example, suppose I have some complex type BaseType that is defined to have one child element in a sequence group that has minOccurs set to 0