[xsd-users] Unable to parse XML file - "no declaration found for
element* "
Deepak Jharodia
deepakjharodia at gmail.com
Sun Nov 18 23:29:00 EST 2012
Hello Boris,
Thanks a lot for prompt reply.
I was able to solve the problem by adding this attributes to the root tag
"zoo".
xsi:noNamespaceSchemaLocation="zoo.xsd"
xsi:schemaLocation="http://www.w3.org/XML/1998/namespace xml.xsd"
I overlooked this part because, I was using the same XML on server side
which is in Java. And it was being parsed correctly there.
Regards,
Deepak
On Fri, Nov 16, 2012 at 4:47 PM, Boris Kolpackov <boris at codesynthesis.com>wrote:
> Hi Deepak,
>
> Deepak Jharodia <deepakjharodia at gmail.com> writes:
>
> > However, it throws "no declaration found for element *" error for
> > each element.
>
> FAQ entry 2.1:
>
> http://wiki.codesynthesis.com/Tree/FAQ
>
> Boris
>
More information about the xsd-users
mailing list