W3C home > Mailing lists > Public > www-international@w3.org > January to March 2013

Re: I18N-ISSUE-247: Clarify interpretation of line breaks when calculating storage size [ITS-20]

From: Jirka Kosek <jirka@kosek.cz>
Date: Fri, 29 Mar 2013 13:42:52 +0100
Message-ID: <51558C4C.8090704@kosek.cz>
To: Anne van Kesteren <annevk@annevk.nl>
CC: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>, www-international@w3.org
On 29.3.2013 12:43, Anne van Kesteren wrote:

> I don't  really see how that follows. Are you storing XML converted to
> bytes or a set of bytes you arrived at after parsing the XML and
> taking the text content of the relevant element? 

The latter.

> The latter will not
> contain &#x0D; unless your input was &amp;#x0D;.

I probably wasn't understanding what you mean by  &#x0D; in your
original message. Of course plain  &#x0D will be considered as a line
break. I though you are talking about edge cases like:

<!DOCTYPE doc [
<!ENTITY CR "&#38;#xD;">
]>
<doc>
  &CR;
</doc>

				Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------


Received on Friday, 29 March 2013 12:43:17 UTC

This archive was generated by hypermail 2.3.1 : Friday, 29 March 2013 12:43:17 UTC