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'. 

xml xml schema

it's typo: maxoccurs has maxoccurs, see xml schema part 0: primer second edition.

change xsd , both errors should resolved.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -