XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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: Fwd: Fw: [xml-dev] Imagine

Rick,

Yup, My personal belief is that we're going to see an XML silver age emerge. The RDF Construct statement gives you a graph, but graphs, in general, tend to be far less than ideal for presenting user-facing documents. When I was working on the NIEM project, I created a two-stage pipeline that denormalized the NIEM components into a full tree, then used the corresponding tree to generate the output format (which was actually a text format, not even XML). XSLT 3 is far better for that kind of operation than anything that I have seen to date in the _javascript_ or Python communities, and has the advantage of being declarative so that even if you are using a web components architecture, what's being passed around is intrinsically far safer and robust. From a publishing perspective, JSON suffers significantly, and I think that ironically as we move away from the _javascript_ is king of the world mentality (increasingly seeing it replaced by Python) there's nowhere near the XML-phobia that you see in the web development world. 

Kurt Cagle
Community/Managing Editor
Data Science Central, A TechTarget Property
443-837-8725


On Mon, Feb 14, 2022 at 9:22 PM Rick Jelliffe <rjelliffe@allette.com.au> wrote:
Perhaps another way to make my point is that is no reason (or is there?) that a logical or sematic analysis of data would expose the properties that might be the most idiomatic or useful for serializing RDF into XML. To say it is just a matter of pointing to some part of the graph and let it serialise off from there is handwaving, isn't it?  The data is rarely complete enough. 

For example, say I have a big pricelist in RDF with lots of items and different price conponents. What reason would there be for our triples to say what they correspond to some standard XML idiom, such as say in an HTML table, until the decision is made that we want to generate HTML tables?  

Or if I wanted my pricelist to be arranged alphabetically. That is needed to serialise, but outside any triplets  and not in any schema mapping.

Or if I wanted serialise the Thai data out while performing their complex Unicode normalization. Nothing to do with the triples.

Or if I wanted to make sure that products with a missing graphic use some default graphic. 

Or that ISO 8601 dates that turn out to be in the current Reiwa era in Japan need to have a different element names. Our pricing catalog has no Japanese Era names.  And looking up the era by traversing RDF triples until you get to some date to list map, or whatever, provides no advantage compared to the developer looking it up, or a web service that does date in/era out etc, does it? 

The devil is in the details. That we talk of "separating presentation from data" glosses over the frequent reality that idiomatic XML functions as a presented view, it is a kind of publication for a readership not some pure data serialization: developers and maintainers, humans, view documents and need them to make sense in the unmediated characters as text, which requires that even "presentation-neutral" "pre-collation" XML is constructed using information that is not part of the the triples. 

Cheers
Rick




[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