W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

Re: How to represent fixed namespace attributes?

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Sat, 23 Feb 2002 11:24:57 +0100
Message-ID: <3C776DF9.6070206@dyomedea.com>
To: Pete Beazley <pete@clearlyonline.com>
Cc: xmlschema-dev@w3.org
Pete Beazley wrote:

> I'm struggling to see a way to do this in XML Schema since the
> <xsd:attribute> element doesn't allow namespace qualified attribute
> names to be declared. And, I don't believe it is legal to declare
> 'xmlns' as a namespace since it is reserved by XML.
> 
> Any ideas?

Just continue to use a DTD :=) ...

W3C XML Schema doesn't consider namespaces declarations as attributes 
and (as you mention) provides no way to fix them.

Eric
-- 
See you in Seattle.
                                        http://knowledgetechnologies.net/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Saturday, 23 February 2002 05:24:59 GMT

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