[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Error and Fatal Error
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: David Carlisle <davidc@nag.co.uk>
- Date: Sun, 17 Jul 2011 22:11:36 +0100
On 17 July 2011 21:42, David Carlisle <davidc@nag.co.uk> wrote:
> On 17/07/2011 20:30, Stephen D Green wrote:
>>
>> because the XML content includes data input into textbox controls, etc
>> in a webpage and we do not want to prevent users inputing '<' and '&'
>
> but surly it's fairly trivial to do a string replace on all such input
> to change < and & to < and & a lot simpler (and more reliable) than
> suggesting the entire xml parsing model changes.
Yep, or better still put it through an xml serialiser...
--
Andrew Welch
http://andrewjwelch.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]