Regular expressions

Sir or Madam:
	I'd like if the next XML Schema spec had a clear relationship to regular 
expressions. I (and a lot of other people) know and understand regular 
expressions.  They're well known by the parsing community.  So, I'd love it 
if the new spec contained things that had a relationship to +, *, ?, |, 
().  I suggest tag names of"atLeastOne" "anyNumber" "optionally", 
"chooseOne", and "grouping".
	So you might end up with something like this:

<element name="element">
	<chooseOne>
		<element name="isOfType>
			<attribute name="type" value="string">
		</element>
		<grouping>
			<optionally>
				<element name="extendsType>
					<attribute name="type" value="string">
				</element>
			</optionally>
			<anyNumber>
				<element name="attribute>
					<attribute name="name" value="string">
					<attribute name="value" value="string>
				<element>
			</anyNumber>
			<anyNumber>
				<element name="element">
					<attribute name="name" value="string">
				</element>
			</anyNumber>
		</grouping>
	</chooseOne>
</element>

	I think it is much cleaner than what is currently being used in schemas.

	Michael Nahas

Received on Monday, 29 July 2002 18:00:10 UTC