[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: Error and Fatal Error
- From: Stephen D Green <firstname.lastname@example.org>
- To: David Carlisle <email@example.com>
- Date: Sun, 17 Jul 2011 21:56:47 +0100
Cross-posting, but yes it would be possible to do that
but mean handling all the weird and wonderful angle
bracket stuff ourselves in code (and without MicroXML
simplification so we could have XML with namespace
declarations apearing just about anywehere, any legal
whitespace anywhere, etc, etc). Why write our own
XML parser when there is a proper one in the .NET
framework all tested and standards-conformant. All
we need to do is simply check the content of each
element for illegal characters. Do we really have to
write an XML parser just for that?! The idea of .NET
is to use a framework based on RAD and not have
to write things from scratch (unlike, in my experience,
Java which seems to take developers ages to write
a typical webform). The only sticking point seems to be
these clauses in the XML spec making the .NET parser
a little too quirky and fussy. I think that's a fair assessment
from what I'm hearing on this list.
Stephen D Green
On 17 July 2011 21:42, David Carlisle <firstname.lastname@example.org>
but surly it's fairly trivial to do a string replace on all such input
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 '&'
to change < and & to < and & a lot simpler (and more reliable) than suggesting the entire xml parsing model changes.
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l....org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please