OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   conjunction types

[ Lists Home | Date Index | Thread Index ]
  • From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
  • To: "'xml-dev@xml.org'" <xml-dev@xml.org>, "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
  • Date: Fri, 3 Mar 2000 09:26:37 -0700

At XTech, I asked a question about whether conjunction types might be considered.  I thought that I had put a message in the comments log on my thoughts on this, however it seemed to only get into the
help file that I published.

The following facets would seem to address quite a few constructs that appear within Schema for Schema and a few things like multiple, disjunctive value ranges from


The <or> facet is satisfied if any of the contained facets is satisified.


The <and> facet is satisified if all of the contained facets are satisifed.


The <nor> facet is satified if none of the contained facets are satisified.  A <nor> with
a single contained facet is used to perform a not operation.


The conform facet is satified if the lexical representation would be acceptible
to the specified datatype.


For this to work right, <enumeration> needs to become a container of <literal>
elements which will make it logically equivalent to all the other facets.


<simpleType name="maxOccur" base="string">
		<conform type="non-negative-integer"/>
		<enumeration><literal value="*"/></enumeration>


<simpleType name="noTeens" base="integer">
			<minInclusive value="0"/>
			<maxExclusive value="10"/>
		<minInclusive value="20"/>

<simpleType name="targetOrNamespace" base="string">
		<enumeration><literal value="##targetNamespace"/></enumeration>
		<conform type="uri-reference"/>

<simpleType name="targetOrNamespaces" base="targetOrNamespace" derivedBy="list"/>

<simpleType name="anyAttribute" base="string">
			<literal value="##any"/>
			<literal value="##other"/>
			<literal value="##local"/>
		<conform type="targetOrNamespaces"/>

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS