[xsd-users] Polymorphism : Xml Validation Error

Boris Kolpackov boris at codesynthesis.com
Fri Apr 17 11:16:06 EDT 2015


Hi Chew,

Chew kk <chew.on.it at gmail.com> writes:

> myFileName.xml:4:12 error: no declaration found for element 'address'
> myFileName.xml:5:9 error: no declaration found for element 'city'
> myFileName.xml:6:12 error: no declaration found for element 'country'
> myFileName.xml:7:12 error: element 'address' is not allowed for content
> model '(name)'

These are Xerces-C++ validation against schema errors. Make sure you
use the latest version. Also, try to put xsi:type after
xsi:noNamespaceSchemaLocation.

Boris



More information about the xsd-users mailing list