Re: clarification: "escaped"

2006-07-25 Thread A. Pagaltzis

* Robert Sayre <[EMAIL PROTECTED]> [2006-07-26 01:45]:
> On 7/25/06, Bill de hÓra <[EMAIL PROTECTED]> wrote:
> >And I didn't know whether Atom code could get away with
> >escaping < and &.
> 
>  hmm
> 
> that is an XML fatal error, no doubt, as the ampersand before
> "nbsp" must be escaped.

But he did say “escaping < and &”, so it would be. I’m not sure
what Bill’s question even is.

Regards,
-- 
Aristotle Pagaltzis // 



Re: Re: clarification: "escaped"



On 7/25/06, Bill de hÓra <[EMAIL PROTECTED]> wrote:


It came up on django irc. I'd assumed for whatever reason that escaping
was limited to the usual XML suspects, but when asked about html content
I knew I didn't know for sure, especially wrt HTML character entities.
And I didn't know whether Atom code could get away with escaping < and &.


I'm not certain I understand the issue, but if the question concerns
what happens when an Atom processor encounters a document with no
declared entities and contains a title like this:

 hmm

that is an XML fatal error, no doubt, as the ampersand before "nbsp"
must be escaped. Concretely, Mozilla will give you a DOM with a
non-breaking space if you write this:

 hmm

--

Robert Sayre

"I would have written a shorter letter, but I did not have the time."



Re: clarification: "escaped"



Robert Sayre wrote:

On 7/25/06, Bill de hÓra <[EMAIL PROTECTED]> wrote:


The RFC says that the content should be 'escaped' for type 'text/html'
in 3.1.1.2, but dosn't define what that is.


IIRC, WG discussion touched on this point, and the WG decided the
definition wasn't important, given the example. Is there a problem
you're hoping to clear up?


It came up on django irc. I'd assumed for whatever reason that escaping 
was limited to the usual XML suspects, but when asked about html content 
I knew I didn't know for sure, especially wrt HTML character entities. 
And I didn't know whether Atom code could get away with escaping < and &.


cheers
Bill



Re: clarification: "escaped"



On 7/25/06, Bill de hÓra <[EMAIL PROTECTED]> wrote:


The RFC says that the content should be 'escaped' for type 'text/html'
in 3.1.1.2, but dosn't define what that is.


IIRC, WG discussion touched on this point, and the WG decided the
definition wasn't important, given the example. Is there a problem
you're hoping to clear up?

--

Robert Sayre

"I would have written a shorter letter, but I did not have the time."



clarification: "escaped"



The RFC says that the content should be 'escaped' for type 'text/html' 
in 3.1.1.2, but dosn't define what that is. Is it as defined in XML:


http://www.w3.org/TR/REC-xml/#dt-escape

?

cheers
Bill