Re: [xml] Recovering from errors in an XML "stream"
- From: Liam R E Quin <liam holoweb net>
- To: Webb Scales <webb ursasecure com>, Eric Eberhard <flash vicsmba com>, xml gnome org
- Subject: Re: [xml] Recovering from errors in an XML "stream"
- Date: Tue, 24 Sep 2019 17:49:50 -0400
On Tue, 2019-09-24 at 17:29 -0400, Webb Scales wrote:
Thanks, Eric -- that's an interesting suggestion.
Does this work for you because the '<' character is not permitted in
the stream except as the opening of a tag
This isn’t true in general in XML, so beware.
<invoice emoticon="< whheee > ">
<?xml-stylesheet href-"foo.xss"?>
<age>19</age><!--* if age < 16 days do not rebill *-->
<script><![CDATA[
if (s < 7 || a[i[j]]> 6) {
print "this is not in a CDATA section";
}
</script>
</invoice>
Liam
--
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]