[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Amelia A Lewis" <amyzing@t...>,"Aaron Skonnard" <aarons@d...>
  • Subject: RE: W3C Schema: Resistance is Futile, says Don Box
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Mon, 10 Jun 2002 19:37:01 -0700
  • Cc: "Tim Bray" <tbray@t...>,<xml-dev@l...>
  • Thread-index: AcIQ8FAtECKrvrRgS36Is7L4iiFhawAADJWQ
  • Thread-topic: W3C Schema: Resistance is Futile, says Don Box

> -----Original Message-----
> From: Amelia A Lewis [mailto:amyzing@t...] 
> Sent: Monday, June 10, 2002 7:35 PM
> To: Aaron Skonnard
> Cc: 'Tim Bray'; xml-dev@l...
> Subject: RE:  W3C Schema: Resistance is Futile, says Don Box
> 
> The introduction of 
> data types for "simple" (text nodes and
> attributes) nodes provides a way to validate the text, beyond 
> existing parsed character data (the only valid type for text 
> nodes in DTD), CDATA, Name, Token, NCName, QName, ID, IDREF, 
> and the derived list types.  Note that the attribute types 
> are almost exclusively concerned with reference types (XML 
> versions of pointers), and that at least two of them actually 
> embed co-occurrence constraints (ID and IDRef), which cannot 
> be modeled in any of the current schema languages, except by 
> deus ex specificatia.

A.) I wouldn't call ID and IDREF co-occurrence constraints but instead
identity constraints of which W3C XML Schema has xs:key, xs:keyref and
xs:unique

B.) Schematron and to a lesser extent RELAX NG support co-occurrence
constraints. 



-- 
PITHY WORDS OF WISDOM 
The shortest distance between two points is under repair.

This posting is provided "AS IS" with no warranties, and confers no
rights. 




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member