[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 3.0 processor accepting non well-formed XML

Subject: Re: XSLT 3.0 processor accepting non well-formed XML inputs
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 Mar 2019 04:37:03 -0000
Re:  XSLT 3.0 processor accepting non well-formed XML
On Sat, Mar 02, 2019 at 04:21:13AM -0000, Dimitre Novatchev dnovatchev@xxxxxxxxx scripsit:
> Taking all this into account, will it be useful to relax some
> requirements toward the streamed XML, so that people will not have to
> spend time over such seeming "issues", because in the relaxed terms
> these will simply become non-existent?

There's always the risk of confusing "useful" and "practical". ("this
would be great if we could do it")

XML's largest downside is the parse requirement; you have to do quite a
bit of work to turn the text representation into the nodes.  This has a
lot to do with why "lighter" hierarchical models (like JSON) caught on
for data exchange.

It's pretty easy to argue that XML is only required (or justified) when
the data exchange is complicated.

Accepting that such things exist (central prescription checking by
regional health authorities comes to mind), the question I think turns
into "what are we getting for the parse?"

With relaxed constraints, all the useful stuff -- the certainty that
there are things that XML won't let you do -- goes away.  (Rather like
how the "put the Microsoft `high ASCII' characters in the XML character
set" decision made well-formedness less useful.)

I have absolutely no issues with the idea of "this operation can happen
without a complete parse", but would really not like "complete parse"
and "partial parse" operations becoming mutually ambiguous.

(Does "doc-available()" imply a complete parse?)

-- Graydon

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.