I have a very simple XML & XML schenm which is throwing following error during parsing -
errors in xml document:
13: 11 cvc-complex-type.2.4.d: invalid content found starting element 'airport'. no child element expected @ point. errors in file xml-schema:
10: 54 s4s-att-not-allowed: attribute 'maxoccurs' cannot appear in element 'element'.
it's typo: maxoccurs has maxoccurs, see xml schema part 0: primer second edition.
change xsd , both errors should resolved.
Comments
Post a Comment