W3C home > Mailing lists > Public > www-tag@w3.org > June 2007

RE: Defined sets, accept sets, and <banana> elements

From: Pat Hayes <phayes@ihmc.us>
Date: Fri, 22 Jun 2007 08:37:57 -0500
Message-Id: <p06230901c2a180605ba1@[10.100.0.195]>
To: "David Orchard" <dorchard@bea.com>
Cc: "John Cowan" <cowan@ccil.org>, <noah_mendelsohn@us.ibm.com>, "Tim Berners-Lee" <timbl@w3.org>, <www-tag@w3.org>

>I'm not sure what "replace by content" means in this context. If it's an
>XML element that isn't thrown away from the infoset, is it really
>replaced?

Suggestion: what it means is the meaning of a 
document with it is the same as the meaning you 
get by replacing it by whatever is in it. So

...baz..
<banana>
...foo...
</banana>
...bar...

is exactly equivalent to

...baz...
...foo...
...bar...

This is exactly how we defined the 'no-meaning' 
meaning of comments in CL: a comment wrapper is 
transparent in the sense that an expression with 
one (surrounding it) is exactly equivalent to the 
same expression without one.

Pat Hayes

>
>I have a feeling that the usage of Ignore that we've had for the past
>decade or so really means "ignore for the purposes of validation", that
>is don't break.  Perhaps a better phrasing that "Must Ignore Unknowns"
>is "Must not fault on Unknowns".  Outside of the validation, there are a
>wide variety of ways that the so-called extra content is handled. 
>
>Cheers,
>Dave
>
>>  -----Original Message-----
>>  From: John Cowan [mailto:cowan@ccil.org]
>>  Sent: Thursday, June 21, 2007 2:05 PM
>>  To: David Orchard
>>  Cc: noah_mendelsohn@us.ibm.com; Tim Berners-Lee; www-tag@w3.org
>>  Subject: Re: Defined sets, accept sets, and <banana> elements
>>
>>  David Orchard scripsit:
>>
>>  > I agree that the definition of "ignore" needs elaboration.  I think
>>  > there are at least 2 major flavours: ignore and delete, and
>>  ignore and
>>  > retain.
>>
>>  Or to put it another way:  delete, and replace by content.
>>
>>  --
>>  John Cowan    http://ccil.org/~cowan    cowan@ccil.org
>>  SAXParserFactory [is] a hideous, evil monstrosity of a class
>>  that should be hung, shot, beheaded, drawn and quartered,
>>  burned at the stake, buried in unconsecrated ground, dug up,
>>  cremated, and the ashes tossed in the Tiber while the
>>  complete cast of Wicked sings "Ding dong, the witch is dead."
>>   --Elliotte Rusty Harold on xml-dev
>>


-- 
---------------------------------------------------------------------
IHMC		(850)434 8903 or (650)494 3973   home
40 South Alcaniz St.	(850)202 4416   office
Pensacola			(850)202 4440   fax
FL 32502			(850)291 0667    cell
phayesAT-SIGNihmc.us       http://www.ihmc.us/users/phayes
Received on Friday, 22 June 2007 13:38:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:46 GMT