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: [xml-dev] What is beautiful XML?

I will suppose that first of all beautiful XML would have to qualify as being sane http://www.flightlab.com/~joe/sgml/sanity.txt

verbosity in XML is not considered a problem, but verbosity is  relative. XML is itself more verbose than some other data serialization formats, but when an XML dialect is more verbose than the average XML dialects it is perhaps indicative of ugliness. An example of what I'm thinking of - XSL-FO seems more verbose than is necessary - I suppose other people can think of their own examples.

finally - how does it look in an indenting editor? I have a feeling that the beautiful formats when looked at in the editor will have a reasonable proportion of the major XML node types. That is to say it will achieve a sort of Platonic XML look, there will be a reasonable balance of element nodes, attribute nodes, text nodes - the format will not be too nested, but it will also definitely not be flat. There will be some elements without attributes, and no elements with a  very large number of attributes - I say 8. Names are reasonable, there may be camelCasing but I dislike too many words portmanteaued together into a camelCased mess - no singlePersonResidenceIdenitifier. Names should not be long, especially not attribute names. 






On Sat, Feb 24, 2018 at 7:04 PM, Costello, Roger L. <costello@mitre.org> wrote:

Hi Folks,

What do you mean by ‘beautiful XML’?

Perhaps you mean something analogous to this:

A question I’d asked senior scientists when in college: “What do you mean by ‘beautiful’?” Replies had varied, but a synopsis had crystallized: “Beautiful science enables us to explain a lot with a little.” Schrodinger’s equation, which describes how quantum systems evolve, fits on one line. [1]

Is beautiful XML that which says a lot with a little? If so, would you provide an example, please?

If that’s not what you mean by ‘beautiful XML,’ then what do you mean?

/Roger

http://www.preposterousuniverse.com/blog/2018/01/29/guest-post-nicole-yunger-halpern-on-what-makes-extraordinary-science-extraordinary/




[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