W3C home > Mailing lists > Public > www-international@w3.org > January to March 2001

Re: Natural language multiword value in attribute enumeration/Whitesp ace in Nmtoken

From: Martin Duerst <duerst@w3.org>
Date: Mon, 12 Feb 2001 12:03:28 +0900
Message-Id: <>
To: "Lieske, Christian" <christian.lieske@sap.com>, "'www-international@w3.org'" <www-international@w3.org>
NMtoken doesn't include spaces. Please have a look at
XML Schema, there you can define an enumeration of strings
that should do the job.

But I'm not sure it's a good idea to use attributes
(instead of elements) for something that is so close
to natural language, and I'm not sure it's a good idea
to have a list like this fixed in the DTD/Schema. But
I don't know enough context to clearly advise against it.

Regards,  Martin.

At 18:33 01/02/09 +0100, Lieske, Christian wrote:
>Hello www-international,
>My question ultimately is rooted in language, and thus
>I figured it might be acceptable to send it to the
>internationalization list; from my understanding several
>people working on language-related DTDs currently
>have identical questions/have to live with workarounds
>like underscores instead of whitespace. I apologize
>if this is not the right forum (would be happy if someone
>could point me to the appropriate one.
>I am trying to do sth. like
><!ATTLIST myElement
>         myAttribute (come over | come across) #IMPLIED>
>So far did not succeed. Amongst others I tried
>a) ( "come over" | "come across" )
>b) ( &apos;come over&apos; | &apos;come across&apos; )
>c) ( come&#32;across | come&#32over )
>The error message I get from e.g. IE5 is
>Invalid character found in ATTLIST enumeration. Line 13, Position 39
><!ATTLIST fooo  associatedWord  (come across | come over)  #IMPLIED >
>What I am technically trying to do (my understanding) is to
>have a multiword Nmtoken/whitespace within a Nmtoken. Is this simply
>impossible? If not: What's the trick?
>Thanks in advance, Christian
Received on Monday, 12 February 2001 03:59:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:20 UTC