Re: Types, byte codes etc.

Oren Ben-Kiki <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <1178565958.5545.40.camel@nero>
On Mon, 2007-05-07 at 11:22 -0400, Brad Baxter wrote:

> Small question: In this canonical format, how do you expect to treat 
> newlines that are in values, e.g.,
> 
> [
> "Romeo
> Juliet"
> ]
> 
> or
> 
> [
> "Romeo\nJuliet"
> ]

The latter, for two reasons. First, I _think_ the 1st format is not
valid in ECMA and JSON. Second, the second format does not raise sticky
issues with regard to line break normalization.

Have fun,

	Oren Ben-Kiki


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.