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

Introducing child elements in appinfo

From: Manos Batsis <m.batsis@bsnet.gr>
Date: Mon, 26 Nov 2001 12:49:46 +0200
Message-ID: <E657D8576967CF448D6AF22CB42DD2690FF1AC@ermhs.Athens.BrokerSystems.gr>
To: <xmlschema-dev@w3.org>
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 Monday, 26 November 2001 05:48:03 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.