RE: newlines inside StringLiteral

Yes, newlines are allowed inside string literals. What would make one think
otherwise?

Michael Kay

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of Paul J. Lucas
> Sent: 10 December 2004 22:14
> To: public-qt-comments@w3.org
> Subject: newlines inside StringLiteral
> 
> 
> 	It's not clear whether the regular epxression definitions given
> 	in section A.1 for things like:
> 
> 		[^abc]
> 
> 	means that newlines are matched and, consequently, newlines are
> 	allowed inside string literals since its definition contains:
> 
> 		[^"&]
> 		[^'&]
> 
> 	So: are newlines allowed inside string literals?
> 
> 		let $x := "hello
> 		           world!"
> 		return $x
> 
> 	- Paul
> 
> 
> 

Received on Friday, 10 December 2004 23:07:52 UTC