- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Thu, 12 Jan 2006 09:51:36 +0000
- To: d_a_carver@yahoo.com
- Cc: xmlschema-dev@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Carver writes: > [complex type defn] Either you have a very old version of XSV, or you've changed the example in some way before sending it. . . XSV 2.10 reports 4 errors for your example : one for each element decl in the 2nd sequence, because you're not allowed both 'ref' and 'type' attributes, and one for the content model as a whole, because it violates UPA. > What I want to do is require DescriptionMessage, MeassageReasonCode if > there is an ApplicationReasonCode, if there isn't an > ApplicationReasonCode, then DescriptionMessage and MessageReasonCode > are optional. I don't _think_ there's a way to do that, given that you want ARC to come last . . . The closest I can get is (DM+, MR, ARC?)? which differs from your requirement in not allowing DM w/o MR or MR w/o DM (but _maybe_ you didn't want to allow that anyway -- I could read your description either way). Hope this helps. ht - -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDxiaskjnJixAXWBoRAnCIAJ0f1TqUcXpH9UDU73rrOQDP9/goLQCeJ6NP y0ucfE2ncY8YcaR9utmW7eo= =IFtP -----END PGP SIGNATURE-----
Received on Thursday, 12 January 2006 09:51:47 UTC