[dsdl-comment] Re: Can someone check this NVDL quickly?

From: Rick Jelliffe <rjelliffe@allette.com.au>
Date: Tue Jun 10 2008 - 16:55:33 UTC

John Cowan wrote:
> Rick Jelliffe scripsit:
>
>
>> <odf:blahblah>
>> <crazy:container>
>> <odf:blurblurt />
>> </crazy:container>
>> </odf:blahblah>
>>
>
> I do not think that means what you think it means.
>
> The validation model says to remove foreign elements, not to replace them
> by their children, so the validator will reduce that to "<odf:blahblah/>"
> before validating.
>
>
Patrick Durusau wrote back to me
  "I think we could be clearer but I think your (Rick's) interpretation
is the correct one."
however, his explanation makes no sense to me. I think he is starting
from the model that foreign elements are used to annotate and add value
to an existing valid ODF document, and that is the scenario assumed when
"removing" an element.

I don't see any hard rule why removing an element should or should not
imply removing its children, particularly in a different namespace. The
text should be fixed. Again, another victory for the discipline of these
formal languages: natural language unassisted is often ambiguous in
unexpected ways. I don't know why I have the intepretation I have,
actually, now that John has pointed it out it isnt as patently obvious
as I thought it was on previous readings: maybe it is the standards
equivalent of an "urban myth" and John is actually right...I'll leave my
blog the way it is and correct it if more clarity is forthcoming.

Cheers
Rick

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Tue Jun 10 18:54:24 2008

This archive was generated by hypermail 2.1.8 : Tue Jun 10 2008 - 19:23:06 UTC