W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > October 2006

ISSUE-78: fixed length repetition

From: Databinding Issue Tracker <dean+cgi@w3.org>
Date: Thu, 26 Oct 2006 08:12:47 +0000 (GMT)
To: public-xsd-databinding@w3.org
Message-Id: <20061026081247.B537047BA3@mojo.w3.org>


ISSUE-78: fixed length repetition

http://www.w3.org/2005/06/tracker/databinding/issues/78

Raised by: Paul Downey
On product: Advanced

proposed advanced pattern, used to express fixed length arrays:

<xs:element name="foo" type="bar" minOccurs="n" maxOccurs="n" />

example instance:

  <foo>one</foo>
  <foo>two</foo>
  <foo>three</foo>

pattern definition:

  .//xs:element[@minOccurs = @maxOccurs and @minOccurs gt 1]
/(@minOccurs, @maxOccurs) 
Received on Thursday, 26 October 2006 08:12:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:37 GMT