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] Lessons learned from the XML experiment

----- Original Message ----- From: "Uche Ogbuji" <uche@ogbuji.net>
To: "Pete Cordell" <petexmldev@codalogic.com>
Cc: "Michael Kay" <mike@saxonica.com>; "Timothy W. Cook" <tim@mlhim.org>; "Hans-Juergen Rennau" <hrennau@yahoo.de>; <xml-dev@lists.xml.org>
Sent: Thursday, November 14, 2013 4:12 PM
Subject: Re: [xml-dev] Lessons learned from the XML experiment

On Thu, Nov 14, 2013 at 9:11 AM, Pete Cordell <petexmldev@codalogic.com>wrote:

Original Message From: "Michael Kay" <mike@saxonica.com>

 No, I can't in this specific use case.  However, AFAIK there isn't a
published, standards track grammar for your example.

 So Java is broken because there's no international standard for package
names like org.w3.dom?

 How come I didn't notice?

Surely Java is not broken because it has tools to support that
'convention'. XML is broken as far as this convention is concerned because
there are no (widely available) tools that implement it.

What do you mean by "implement" here, because as I understand the term
*every* XML tool implements it just fine.
XML tools work quite well using XML namespaces when you have nested vocabularies (potentially not under your control) which have the same local name, e.g.:

<p:person xmlns:p='http://example.com/person'>
<e:employer xmlns:e="http://example.com/employer";>
<p:name>Fred Blogs</p:name>

Here, each instance of name is easily identified as unique. You have to work harder with existing tools if the XML is something like the following:

<name>Fred Blogs</name>

Pete Cordell
Codalogic Ltd
C++ tools for C++ programmers, http://codalogic.com
Read & write XML in C++, http://www.xml2cpp.com

[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