Re: non-XML characters (e.g. #1)

On Mon, 2022-01-03 at 09:04 -0700, C. M. Sperberg-McQueen wrote:
> 
> 
> > On 3,Jan2022, at 8:11 AM, Liam R. E. Quin <liam@fromoldbooks.org>
> > wrote:
> > ...
> > If someone wants malformed XML as output, maybe that should be
> > allowed
> > too?
> 
> That doesn’t appeal very much to me.  I *think* that is motivated by
> general principles of interoperability and clarity (‘intentionally
> malformed
> output that looks like XML’ will surely be described as XML by people
> who don’t care about the details), and not *solely* by the fact that
> for 
> my processor to produce non-XML output would be tedious.

A legitimate example might be people choosing to lie and say they are
producing XML when they're producing e.g. an apache conf file (no top
level element).

> I think if someone knows what they are doing well enough to be
> taken seriously when they say they want malformed output, they
> probably know how to make a well-formed version of their data that
> captures the information they want.

You're probably right.

> 
> Michael
> 
> 

-- 
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

Received on Monday, 3 January 2022 16:27:39 UTC