- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 12 Feb 2001 10:18:25 +0000
- To: <ulrike.schaefer@infotakt.de>
- Cc: <www-xml-schema-comments@w3.org>
Ulrike Schäfer <ulrike.schaefer@infotakt.de> writes: > The XML Schema Part 0: Primer says: > > === > <xsd:element name="anything" type="xsd:anyType" /> > > The content of the element declared in this way is unconstrained, so the > element value may be 423.46, but it may be any other sequence of characters > as well, or indeed a mixture of characters and elements. > === > > I am not quite sure which kinds of elements anyType may contain: > a) all elements that are *declared* in the current schema > b) any wellformed elements (may, but don't have to be declared) > > I assume b). Is that correct? > > If so, it seems to me that anyType can be used in a similiar way like the > "open" schema concept in one of the earlier schema submissions (sox, I > guess): Some structures in the document can be designed as valid, some as > wellformed. Is that so? Sorry to leave your message unanswered for so long. You are correct on all counts. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-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/
Received on Monday, 12 February 2001 05:18:30 UTC