- From: Pete Beazley <pete@clearlyonline.com>
- Date: Fri, 22 Feb 2002 18:36:12 -0500
- To: <xmlschema-dev@w3.org>
Is it possible to represent fixed namespace attributes using XML Schema? For example, what would the equivalent of the following DTD fragment be in XML Schema? <!ELEMENT rdf:RDF (rdf:Description*)> <!ATTLIST rdf:RDF xmlns:rdf CDATA #FIXED "http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc CDATA #FIXED "http://purl.org/dc/elements/1.1/" xmlns:dcterms CDATA #FIXED "http://purl.org/dc/terms/" > 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? -------- Pete Beazley mailto:pete@clearlyonline.com ClearlyOnline, Inc. http://www.clearlyonline.com
Received on Friday, 22 February 2002 18:36:30 UTC