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

Re: Which is more declarative? More XMLish?

  • From: "Liam R. E. Quin" <liam@w3.org>
  • To: Dimitre Novatchev <dnovatchev@gmail.com>, "Costello, Roger L." <costello@m...>
  • Date: Sun, 03 Dec 2017 02:57:27 -0500

Re:  Which is more declarative? More XMLish?
On Sat, 2017-12-02 at 09:04 -0800, Dimitre Novatchev wrote:
> [...]
> But an XML document cannot contain infinite number of
> elements (unless W3C makes a new XML Spec allowing this -- and this
> would be conveniently hand-in-hand with XSLT streaming). 

I several times wished we had more data-flow people involved in XML,
XML Schema, XSLT, XQuery, XProc, and reached out with no success. As an
undergraduate i used a declarative data-flow language with lazy
evaluation where you could express the infinite sequnce of integers as
    let $ints := 0 fby $ints + 1
(fby was the sequence construction operator "followed by").

I don't envision people joining W3C to standardise streming extensions
to XML Schema, although of course we'd welcome them if they did :)
There are public W3C ommunity groups, though, where such work could
coneceivably be done.

> Note: even XML well-formedness cannot be validated when streaming a
> document. This means that any serious XML streaming must be performed
> in transactional manner.

Right, and you have to handle a truncated document gracefully in many
situations too.


Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG

Web slave for http://www.fromoldbooks.org/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

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 click here.

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.