Subject: RE: [Simple] Question about extending mood in rpids-04

From: [email-masked]
Date: Tue, 9 Nov 2004 21:19:55 +0200

<snip>
 
> > Now what if the receiver of these documents doesn't understand
>  > the ext namespace? In both cases it ignores the "ext" namespace
>  > and validates rest of it against the "car". I am not sure if
>  > there are any cases where validator would need to know that
>  > elements from a namespace it doesn't understand belong to a
>  > particular substitutionGroup. Can you point out any?
> 
> I'm not sure the difference matters much, but when the extension is 
> introduced via the ##other mechanism, if the application understands 
> <car> then it knows that <newcar> satisfies the schema even without 
> knowledge of ext. But with the substitution group it has no 
> way to know 
> whether the usage of <newcar> satisfies the schema.

For a validator it should not matter if ext is valid or not. It doesn't understand it and it should be completely insignificant what is inside that particular extension.
We could have similar situation even using ##other. We could have

<car>
	<ferrari/>
	<ext:element-that-has-no-definition/>
<car>

Now, entity that doesn't understand ext would have no idea that <ext:element-that-has-no-definition/> has no definition. 

- Mikko

> 	Paul

_______________________________________________
Simple mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/simple