I have problem and I need help
Posted: Sat Nov 25, 2017 12:29 pm
Hello,
I have some problem
It is my code:
xml:
schema:
If I try to validate the schema, I get this:
and this:
thanks
lukasz
I have some problem
It is my code:
xml:
Code: Select all
<hobby xmlns="http://tempuri.org/XMLSchema.xsd" >
Code: Select all
<xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd"
elementFormDefault="qualified"
xmlns="http://tempuri.org/XMLSchema.xsd"
xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
Code: Select all
src-resolve.4.2: Error resolving component 'xs:data'. It was detected that 'xs:data' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'null'. If this is the incorrect namespace, perhaps the prefix of 'xs:data' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'null'.
Code: Select all
src-resolve: Cannot resolve the name 'xs:data' to a(n) 'type definition' component.
lukasz