[
Lists Home |
Date Index |
Thread Index
]
- From: Pierre Attar <patt@tireme.fr>
- To: xml-dev@lists.xml.org
- Date: Wed, 19 Jul 2000 14:34:48 +0200
At 12:34 19/07/2000 +0100, Phil wrote:
>I think xml:lang is a reserved XML attribute, so that could be why Xerces is
>complaining. Does it complain if you do:
>
><!DOCTYPE TEST [
><!ELEMENT TEST (#PCDATA)>
><!ATTLIST TEST
> xml:foo NMTOKEN 'fr'
> >
>]>
><TEST xml:foo="fr">Some text in french</TEST>
Phil, Answering your question : yes it complains the same way.
Nevertheless, I know that xml:lang is a reserved attribute and that's
exactely the reason why I want to use it in this way.
<!DOCTYPE TEST [
<!ELEMENT TEST (#PCDATA)>
<!ATTLIST TEST
xml:lang NMTOKEN 'fr'
>
]>
<TEST xml:lang="fr">Some text in french</TEST>
Thanks,
Pierre
|