- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: Tue, 06 Jan 2004 14:28:07 +0000
- To: "Marko Smiljanic" <m.smiljanic@utwente.nl>
- Cc: <xmlschema-dev@w3.org>
Sorry to be _very_ slow to reply to this one. Your translations: "Marko Smiljanic" <m.smiljanic@utwente.nl> writes: > element A (abstract=true) > element B (substitutionGroup="A") > element C (substitutionGroup="A") > element D () - sequence - element (ref="A") > > Now I convert Schema 1 to a "validation equal" Schema 2, presented > below: > > element B () > element C () > element D () - sequence - choice -- element (ref="B") > \_ element (ref="C") is correct, and can always be done for any schema (not _not_ schema document). The subsequent messages in this thread don't contradict the above statement, as long as the fact that in the mixed-namespace example offered the schema involved does indeed require both schema _documents_ to be processed, so the correct 'choice' becomes: > Both (ns2:F and ns1:D) - sequence - choice - ref="ns1:B" > - ref="ns1:C" > - ref="ns2:E" As you correctly state, no wildcard required. 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@cogsci.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]
Received on Tuesday, 6 January 2004 09:33:22 UTC