Reputation: 642
I attach xsd to xml:
<product name="example" version="example" xmlns:msi="http://www.w3.org/2001/XMLSchema" xsi:noNamecpaceLocation="product.xsd">
But product don't see the schema, how can I fix it?
Upvotes: 1
Views: 79
Reputation: 719
Shouldn't
xsi:noNamecpaceLocation
be
xsi:noNamespaceSchemaLocation
and
xmlns:msi="http://www.w3.org/2001/XMLSchema"
be
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Upvotes: 1