Requirement for attributes with schema scope
Curt.Arnold at hyprotech.com
Fri Jan 7 19:35:22 GMT 2000
And some approach that allowed us to have "schema-scoped" attributes would
allow us to validate. Maybe a less disruptive approach would be to allow a
scope attribute on a attribute declaration. Something like:
<attribute name="temp" scope="schema">
where scope would be an enumation of "schema" and "element" (with element as
the default) and it would be an error to have two identically named
attributes with schema scope within the same schema element.
From: ht at cogsci.ed.ac.uk [mailto:ht at cogsci.ed.ac.uk]
Sent: Friday, January 07, 2000 1:17 PM
To: Arnold, Curt
Cc: 'xml-dev at ic.ac.uk'; 'www-xml-schema-comments at w3.org'
Subject: Re: Requirement for attributes with schema scope
"Arnold, Curt" <Curt.Arnold at hyprotech.com> writes:
> Are you saying that <anyAttribute> has been removed from subsequent WG
> documents and the point is moot.
Sorry, you're absolutely right, e.g. <anyAttribute
namespace="##other"/> will allow, but not know how to validate,
attributes with qualified names in instances.
My remarks should have begun "the only schema-valid way to introduce
_and validate_ an attribute from other than the namespace partition
scoped to the containing element is . . . "
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht at cogsci.ed.ac.uk
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev