- From: Felix Sasaki <fsasaki@w3.org>
- Date: Tue, 11 Oct 2005 12:28:27 +0900
- To: "MURATA Makoto" <eb2m-mrt@asahi-net.or.jp>, public-schemata-users@w3.org
On Tue, 11 Oct 2005 12:19:12 +0900, MURATA Makoto <eb2m-mrt@asahi-net.or.jp> wrote: > > >> Doesn't the rule >> <anyNamespace match='elements attributes'> >> <mode> >> <anyNamespace> >> <allow/> >> </anyNamespace> >> </mode> >> </anyNamespace >> encompass the rules about xml, xlink and xml-events attributes? It would >> be different if there was a schema for these attributes, I guess. > > <anyNamespace> matches those URIs which are NOT explicitly specified. > > The <namespace> elements for xml, xlink, and xml-event > attributes specify the <attach> action. This implies that these > attributes must be explicitly specified in the Tiny-1.2.rng schema. I missed that implication. At least for XLink this seems to be the case indeed: http://www.w3.org/Graphics/SVG/1.2/rng/Tiny-1.2/xlink-attrib.rng > > If you omit the <namespace> elements for xml, xlink, and xml-event > attributes, then <anyNamespace> will be used. This means attributes > in these namespace are allowed *without* validation. For example, > > xml:thisAttributeShouldNotBeAllowed ="" > > will be allowed. > > Thanks a lot for the info! Best, Felix
Received on Tuesday, 11 October 2005 03:28:35 UTC