|
Re: ': msg#00022java.enhydra.xmlc
On Monday 07 April 2003 17:41, Jacob Kjome wrote: > I'm actually not sure why XMLC would bother changing single quotes to > ' since single quotes aren't special characters in XML? Single (and double) quotes aren't special characters per se, but they can cause problems inside of attribute values if they are not escaped. For example, consider setting "someAttribute" dynamically to 'quote: "here we go"'. If quotes were not escaped, you'd get markup along the lines of <sometag someAttribute="quote: "here we go"" /> which is definitely *not* valid. That's why XMLC escapes quotes by default. -- Richard Kunze [ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1 http://www.tivano.de, kunze@xxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ', Jacob Kjome |
|---|---|
| Next by Date: | Re: ', Jacob Kjome |
| Previous by Thread: | Re: ', Jacob Kjome |
| Next by Thread: | Re: ', Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |