[xsd-users] Polymorphism : Xml Validation Error

Chew kk chew.on.it at gmail.com
Sun Apr 19 23:15:29 EDT 2015


Hi Boris,

I tried out your solution and it did fixed the error.

Thank You,
chew

On Fri, Apr 17, 2015 at 11:16 PM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> 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