Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xsd data type question

Reply
Thread Tools

xsd data type question

 
 
jibril@gmail.com
Guest
Posts: n/a
 
      03-04-2008
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.
 
Reply With Quote
 
 
 
 
Martin Honnen
Guest
Posts: n/a
 
      03-04-2008
wrote:

> 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.

--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
 
 
 
jibril@gmail.com
Guest
Posts: n/a
 
      03-04-2008
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSD type derived via restriction in same namespace as restricted type? burkley@gmail.com XML 7 09-18-2007 01:51 PM
XML + XSD: Is it possible to get all errors against the XSD? Markus Java 1 11-22-2005 02:53 PM
xsd:any as a child of xsd:all Peter Aberline XML 0 04-05-2004 03:38 PM
referencing another XSD file within an XSD file JavaDeveloper@nowhere.com XML 1 01-14-2004 05:22 PM
XSD document for XSD defintion Rick Razzano XML 1 09-26-2003 12:41 AM



Advertisments