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="&lt; 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

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to