OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS