XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Error and Fatal Error

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 &lt; and &amp; 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS