Re: The annotation feature of the DTD compatibility spec

From
James Clark <>
Date
2001-09-07T02:15:01+00:00
ID
239943921.999853980@[192.168.0.4]
Thread
Re: The annotation feature of the DTD compatibility spec
> Just a quick check. I assume that the following schema is compatible
> with the annotation feature:
>
> <element>
>   <name>abc</name>
>   <other:foo>
>     application specific extension
>   </other:foo>
>   <a:annotation>
>     RELAX NG annotation
>   </a:annotation>
>
>   ...
> </element>

Of course.  I see nothing in the spec that would lead anyone to think 
otherwise.

>
> If so, can we add a statement like:
>
> --------------
> There may be elements from other namespaces after a RELAX NG element.
> --------------
>
> after the current
>
> --------------
> There may be multiple a:documentation elements specifying documentation
> that apply to the same RELAX NG element.
> --------------

What has this to do with a:documentation?  I think adding such a statement 
there would be very confusing.  I added this at the end of section 1:

"Annotations with the above namespace URI can be used in conjunction with 
annotations with other namespace URIs. Annotations with other namespace 
URIs are allowed wherever [RELAX NG] specifies that they are allowed."

James