W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2005

Re: Restricting mixed content .....

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 06 Jul 2005 09:16:02 +0100
To: Hämmer Wolfgang <Wolfgang.Haemmer@swx.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5b4qb8fiyl.fsf@erasmus.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hämmer Wolfgang writes:

> is there a way to restrict mixed content.

> . . .

> I would like to be able to restrict public string code (string l_p1,
> string l_p2) { return l_first + l_p1 + l_second + l_p2 + l_third;}
> using a regexp to public string code(.+).

No, sorry -- there have been discussions about allowing simple type
definitions to be supplied for the text content of mixed content
elements, but it hasn't happened.

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)

iD8DBQFCy5NCkjnJixAXWBoRAhGbAJ467p1MwulqOr5KnGA4o1lh/2WSJgCfYWlA
R65ZulRWC1n6YcowtWqg2hM=
=vaBy
-----END PGP SIGNATURE-----
Received on Wednesday, 6 July 2005 08:16:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:50 GMT