You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Khaled Noaman <kn...@ca.ibm.com> on 2002/07/23 15:18:00 UTC

Re: DO NOT REPLY [Bug 10984] - String restriction with pattern - Xerces_C

Would you please post your modified xsd and xml document?
Khaled

bugzilla@apache.org wrote:

> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10984>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10984
>
> String restriction with pattern - Xerces_C
>
> ------- Additional Comments From vlado39@hotmail.com  2002-07-23 08:34 -------
> <xs:attribute name="name" type="alphabetType" use="required"/>
>
> I cannot see what you mean? My attribute 'name' has a type 'alphabetType'. The
> Oracle parser validates my xml file against the schema. But the Xerces_C fails:
>
> <ExceptionCode number="24" text="InitializationException"/>
> <Comment>&lt;?xml version="1.0" encoding="UTF-8"?>
>  &lt;ParseErrors Count="6">
>   &lt;ParseError>
>     &lt;SourceFile>MDInit&lt;/SourceFile>
>      &lt;LineNumber>2&lt;/LineNumber>
>       &lt;ColumnNumber>128&lt;/ColumnNumber>
>        &lt;Message>Type of attribute 'name' must be validly derived from type
> of attribute in base&lt;/Message>
>   &lt;/ParseError>
>     &lt;ParseError>
>       &lt;SourceFile>MDInit&lt;/SourceFile>
>        &lt;LineNumber>2&lt;/LineNumber>
>          &lt;ColumnNumber>128&lt;/ColumnNumber>
>          &lt;Message>Type of attribute 'name' must be validly derived from type
> of attribute in base&lt;/Message>
>        &lt;/ParseError>
>       &lt;ParseError>
>          &lt;SourceFile>MDInit&lt;/SourceFile>
>          &lt;LineNumber>2&lt;/LineNumber>
>         &lt;ColumnNumber>128&lt;/ColumnNumber>
>          &lt;Message>Type of attribute 'name' must be validly derived from type
> of attribute in base&lt;/Message>
>        &lt;/ParseError>
>        &lt;ParseError>
>          &lt;SourceFile>MDInit&lt;/SourceFile>
>          &lt;LineNumber>2&lt;/LineNumber>
>          &lt;ColumnNumber>128&lt;/ColumnNumber>
>         &lt;Message>NameAndTypeOK: Element 'Value' has a type that does not
> derive from that of the base&lt;/Message>
>        &lt;/ParseError>
>        &lt;ParseError>
>          &lt;SourceFile>MDInit&lt;/SourceFile>
>          &lt;LineNumber>2&lt;/LineNumber>
>          &lt;ColumnNumber>128&lt;/ColumnNumber>
>          &lt;Message>NameAndTypeOK: Element 'Value' has a type that does not
> derive from that of the base&lt;/Message>
>        &lt;/ParseError>
>       &lt;ParseError>
>          &lt;SourceFile>MDInit&lt;/SourceFile>
>          &lt;LineNumber>2&lt;/LineNumber>
>          &lt;ColumnNumber>128&lt;/ColumnNumber>
>         &lt;Message>NameAndTypeOK: Element 'Value' has a type that does not
> derive from that of the base&lt;/Message>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org