xsd data type question

J

jibril

Hi there

Could anyone please help me with this.

I was given an xsd file inport into an application that i am
developing.
There is a line in the file that contains

<xs:element name="SparePartLocation" type="cmt:StringMax4"/>

Do you have any what kind of type that might be... the schema
validator im using is complaining about the type.

Thanks.

Crillin.
 
M

Martin Honnen

I was given an xsd file inport into an application that i am
developing.
There is a line in the file that contains

<xs:element name="SparePartLocation" type="cmt:StringMax4"/>

Do you have any what kind of type that might be... the schema
validator im using is complaining about the type.

Check what namespace URI the prefix 'cmt' is bound to in your schema,
then look for a schema with that target namespace (the schema itself or
any included or imported schema) defining a type named 'StringMax4' in
that particular namespace.
 
J

jibril

Thans Martin.

It is exactly as u said, they defined that type in another schema and
after I imported that one the error I was getting went away :)

Crillin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top