Pete Johnston wrote:
> ...
> You're right that the current document isn't clear on either of these
> points. I'll add a note to the replacement draft to try to clarify.
> ...
Great!
>> - Is ordering of prefix declarations and meta elements
>> significant? Does a prefix declaration need to occur before
>> the first time the prefix is used?
>
> No, it can occur afterwards. Again, you're right, this isn't clear. I'll
> add a note to section 4.2.
>
>> - What happens if the same prefix is declared multiple times?
>> Closest predecessor wins?
>
> The last/latest declaration is used - I think this point is covered by
> the existing text:
>
> "If the prefix has been associated with multiple URIs (though multiple
> namespace declarations) then the prefix is associated with the namespace
> URI specified in the latest declaration in the DC-HTML instance."
>
> and by examples 11 and 12.
>
> I guess really that text should say "in the latest declaration for that
> prefix in the DC-HTML instance."
I missed that. Maybe it would be good to rearrange the text in a future
spec so that normative statements like this are collected in a single
place, instead of appearing between examples.
BR, Julian
|