skjolber / xswi

The simple, standalone XML Stream Writer for iOS
30 stars 5 forks source link

incorrect double quote escape (typo) #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In XMLWriter.m
The escape sequence for quote is

written as 
                        [self write:@"&qout;"];
Where it should be:
                        [self write:@"""];

See
http://www.w3.org/TR/xml11/

To allow attribute values to contain both single and double quotes, the 
apostrophe or single-quote character (') may be represented as "'", and 
the double-quote character (") as """.

Original issue reported on code.google.com by or.elnek...@navigrid.com on 18 Mar 2011 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by skjol...@gmail.com on 21 Mar 2011 at 12:25

GoogleCodeExporter commented 9 years ago
Fixed typo, updated downloads

Original comment by skjol...@gmail.com on 21 Mar 2011 at 12:39

GoogleCodeExporter commented 9 years ago
Thanks for the bug report and patch

Original comment by skjol...@gmail.com on 21 Mar 2011 at 12:57