Re: Introducing child elements in appinfo

Looks like a bug in MSXML4.

I suggest you post on some Microsoft support mailing list.
You could try putting a 'source' attribute on the appinfo element and see
if MSXML4
behaves any differently.

Bob

"Manos Batsis" <m.batsis@bsnet.gr>@w3.org on 11/26/2001 05:49:46 AM

Sent by:  xmlschema-dev-request@w3.org


To:   <xmlschema-dev@w3.org>
cc:
Subject:  Introducing child elements in appinfo




Hallo folks,

Following the example of [1]:
<xs:annotation>
 <xs:documentation>A type for experts only</xs:documentation>
 <xs:appinfo>
  <fn:specialHandling>checkForPrimes</fn:specialHandling>
 </xs:appinfo>
</xs:annotation>

I attempted to introduce a custom element/namespace for my own needs
(the ns is declared in the schema root):

<xsd:annotation>
 <xsd:appinfo>
  <bs:defaultFix>/@Alignment</bs:defaultFix>
 </xsd:appinfo>
</xsd:annotation>

MSXML4 gives me "Element bs:defaultFix not defined in DTD/Schema".
What am I missing?

[1] http://www.w3.org/TR/xmlschema-1/#cAnnotations

Thanks for your time,

Manos

Received on Tuesday, 27 November 2001 21:40:43 UTC