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

  • To: XML Developers List <xml-dev@l...>
  • Subject: Re: Is this constraint expressible in XML Schema?
  • From: Kenneth Stephen <marvin.the.paranoid@g...>
  • Date: Tue, 8 Feb 2005 18:30:57 -0600
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=GQzAfo7WP8HimF6NDdboH5wRsJJ+JlAtef2SfUmYeP+zWeL4/9UZJsaSBwIzhs7gpms2u6UZhK6X2UjtW9z7TrRwVRuePx/s+b2u8nhBHFTyaDfVv8vdYh1UukMOX6LUsCGHiUXH+Wr8xcxMLPfLy28VT6tpnIDo9hR+eqvxOh0=
  • In-reply-to: <42093D76.4080307@o...>
  • References: <7e3b51b05020814132bafcb1@m...> <42093D76.4080307@o...>
  • Reply-to: Kenneth Stephen <marvin.the.paranoid@g...>

Hi,

    Does anyone know if there are plans to enhance XML Schema to cover
such deficiencies?

Thanks,
Kenneth

On Tue, 08 Feb 2005 14:30:14 -0800, Bob Foster <bob@o...> wrote:
> Kenneth Stephen wrote:
>  >     I want to express the following constraint using XML schema :
>  >
>  >     An unbounded sequence of (A or B) elements which can contain at
>  > most n instances of A.
>  >
>  >     To illiustrate, I set n = 2. In that case, BABBBBBABBB is valid.
>  > So is AABB .  BABABA is not valid because there are more than 2 A
>  > elements in it.
> 
> No can do. Try Schematron.
>

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