[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Introducing child elements in appinfo

From: Bob Schloss <rschloss@us.ibm.com>
Date: Tue, 27 Nov 2001 16:51:49 -0500
To: "Manos Batsis" <m.batsis@bsnet.gr>, xmlschema-dev@w3.org
Message-ID: <OF200A8159.8D1DA8C0-ON85256B11.0077ED68@pok.ibm.com>
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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.