CWM and XSD [message #60550] |
Wed, 04 May 2005 05:33  |
Eclipse User |
|
|
|
Originally posted by: dony.qqqqsss.com
Hi,
I have generated a xsd file from a dtd, but there are some problems.
In the xsd file there is an element tag definition like this:
<xsd:element name="CWM:ModelElement.taggedValue">
but the file is not right.
The error message is :
Value "CWM:ModelElement.taggedValue" of attribute 'name' does not match
simple type 'xs:NCName'
could somebody help me?
Thanks
|
|
|
|
|
|
Re: CWM and XSD [message #60989 is a reply to message #60916] |
Thu, 05 May 2005 12:04  |
Eclipse User |
|
|
|
Dony,
It sounds like the tool you used to convert your DTD to XSD is faulty and
produces invalid schemas. I'd suggest getting a differt tool for converting
your DTD.
Cheers,
Dave Carlson
"Dony" <dony@xxxxxxx.xx> wrote in message
news:bf6e486122d146eb76b3fc053ebc395f$1@www.eclipse.org...
> Thanks for your quick answer...
>
> The problem is that colons are necessary for our schema. Do you know how
> we can do?
>
|
|
|
Re: CWM and XSD [message #595387 is a reply to message #60550] |
Wed, 04 May 2005 06:25  |
Eclipse User |
|
|
|
Dony,
NCName stands for Non-colonized name and as that term implies, colons
are not allowed.
Dony wrote:
> Hi,
>
>
>
> I have generated a xsd file from a dtd, but there are some problems.
>
>
>
> In the xsd file there is an element tag definition like this:
>
>
>
> <xsd:element name="CWM:ModelElement.taggedValue">
>
>
>
> but the file is not right.
>
>
>
> The error message is :
>
>
>
> Value "CWM:ModelElement.taggedValue" of attribute 'name' does not
> match simple type 'xs:NCName'
>
>
>
> could somebody help me?
>
>
>
> Thanks
>
>
>
|
|
|
Re: CWM and XSD [message #595398 is a reply to message #60893] |
Wed, 04 May 2005 08:01  |
Eclipse User |
|
|
|
Originally posted by: dony.xxxxxxx.xx
Thanks for your quick answer...
The problem is that colons are necessary for our schema. Do you know how
we can do?
|
|
|
Re: CWM and XSD [message #595400 is a reply to message #60916] |
Wed, 04 May 2005 09:11  |
Eclipse User |
|
|
|
Dony,
Since they absolutely aren't allowed, they cannot possibly be
necessary. I'm quite sure you are confusing wanting prefixes in your
instance documents with putting prefixes in your schema's names. Your
schema should have a target namespace and the names it uses should not
have colons; the prefix used in the instance documents will be based on
that namespace.
Dony wrote:
> Thanks for your quick answer...
>
> The problem is that colons are necessary for our schema. Do you know
> how we can do?
>
|
|
|
Re: CWM and XSD [message #595418 is a reply to message #60916] |
Thu, 05 May 2005 12:04  |
Eclipse User |
|
|
|
Dony,
It sounds like the tool you used to convert your DTD to XSD is faulty and
produces invalid schemas. I'd suggest getting a differt tool for converting
your DTD.
Cheers,
Dave Carlson
"Dony" <dony@xxxxxxx.xx> wrote in message
news:bf6e486122d146eb76b3fc053ebc395f$1@www.eclipse.org...
> Thanks for your quick answer...
>
> The problem is that colons are necessary for our schema. Do you know how
> we can do?
>
|
|
|
Powered by
FUDForum. Page generated in 0.24125 seconds