| From | Sent On | Attachments |
|---|---|---|
| Micah Dubinko | Jul 31, 2009 4:06 pm | |
| COUTHURES Alain | Aug 1, 2009 3:35 am | |
| Amelia A Lewis | Aug 1, 2009 7:43 am | |
| Kurt Cagle | Aug 2, 2009 11:54 am | |
| Kurt Cagle | Aug 2, 2009 12:30 pm | |
| Amelia A Lewis | Aug 2, 2009 6:44 pm | |
| rjel...@allette.com.au | Aug 2, 2009 9:06 pm | |
| Micah Dubinko | Aug 2, 2009 9:21 pm | |
| Micah Dubinko | Aug 2, 2009 9:39 pm | |
| Dave Pawson | Aug 2, 2009 11:20 pm | |
| Michael Ludwig | Aug 3, 2009 8:30 am | |
| Kurt Cagle | Aug 3, 2009 10:41 am | |
| Pete Cordell | Aug 3, 2009 11:56 am | |
| Michael Kay | Aug 3, 2009 1:46 pm | |
| Kurt Cagle | Aug 3, 2009 4:42 pm | |
| rjel...@allette.com.au | Aug 3, 2009 8:39 pm | |
| Pete Cordell | Aug 4, 2009 12:36 am | |
| Tim Bray | Aug 4, 2009 9:44 am | |
| Micah Dubinko | Aug 4, 2009 11:17 am | |
| Micah Dubinko | Aug 4, 2009 10:54 pm | |
| Liam Quin | Aug 4, 2009 11:28 pm | |
| Dave Pawson | Aug 5, 2009 12:45 am | |
| Pete Cordell | Aug 5, 2009 3:17 am | |
| Tim Bray | Aug 5, 2009 12:53 pm | |
| Liam Quin | Aug 5, 2009 1:46 pm | |
| Michael Kay | Aug 5, 2009 4:44 pm | |
| 'Liam Quin' | Aug 5, 2009 4:50 pm | |
| Pete Cordell | Aug 6, 2009 12:23 am | |
| Pete Cordell | Aug 6, 2009 12:35 am | |
| rjel...@allette.com.au | Aug 6, 2009 12:57 am | |
| Michael Ludwig | Aug 6, 2009 1:37 am | |
| Kurt Cagle | Aug 6, 2009 1:47 am | |
| rjel...@allette.com.au | Aug 6, 2009 1:50 am | |
| Michael Kay | Aug 6, 2009 2:10 am | |
| Michael Kay | Aug 6, 2009 2:21 am | |
| Michael Kay | Aug 6, 2009 2:25 am | |
| Pete Cordell | Aug 6, 2009 2:38 am | |
| Pete Cordell | Aug 6, 2009 2:45 am | |
| rjel...@allette.com.au | Aug 6, 2009 3:08 am | |
| Pete Cordell | Aug 6, 2009 3:30 am | |
| Michael Kay | Aug 6, 2009 3:33 am | |
| Simon St.Laurent | Aug 6, 2009 5:57 am | |
| Dave Pawson | Aug 6, 2009 7:16 am | |
| Michael Kay | Aug 6, 2009 7:32 am | |
| rjel...@allette.com.au | Aug 6, 2009 7:41 am | |
| Richard Salz | Aug 6, 2009 7:46 am | |
| Liam Quin | Aug 6, 2009 8:03 am | |
| Liam Quin | Aug 6, 2009 8:10 am | |
| Michael Ludwig | Aug 6, 2009 8:10 am | |
| Pete Cordell | Aug 6, 2009 9:37 am | |
| Dave Pawson | Aug 6, 2009 9:47 am | |
| Liam Quin | Aug 6, 2009 9:51 am | |
| Dave Pawson | Aug 6, 2009 9:53 am | |
| Dave Pawson | Aug 6, 2009 9:54 am | |
| Liam Quin | Aug 6, 2009 10:17 am | |
| Kurt Cagle | Aug 6, 2009 10:19 am | |
| Richard Salz | Aug 6, 2009 10:25 am | |
| Michael Ludwig | Aug 6, 2009 10:32 am | |
| Kurt Cagle | Aug 6, 2009 10:38 am | |
| Richard Salz | Aug 6, 2009 10:41 am | |
| Pete Cordell | Aug 6, 2009 10:42 am | |
| Dave Pawson | Aug 6, 2009 10:47 am | |
| Liam Quin | Aug 6, 2009 11:05 am | |
| Pete Cordell | Aug 6, 2009 11:49 am | |
| John L. Clark | Aug 6, 2009 12:32 pm | |
| Simon St.Laurent | Aug 6, 2009 1:06 pm | |
| Michael Ludwig | Aug 6, 2009 1:13 pm | |
| Michael Ludwig | Aug 6, 2009 1:16 pm | |
| Michael Ludwig | Aug 6, 2009 1:39 pm | |
| Liam Quin | Aug 6, 2009 2:43 pm | |
| Michael Ludwig | Aug 6, 2009 3:11 pm | |
| Michael Kay | Aug 6, 2009 3:32 pm | |
| rjel...@allette.com.au | Aug 6, 2009 8:21 pm | |
| rjel...@allette.com.au | Aug 6, 2009 8:32 pm | |
| Michael Kay | Aug 7, 2009 1:10 am | |
| michael odling-smee | Aug 7, 2009 1:28 am | |
| Michael Kay | Aug 7, 2009 1:33 am | |
| michael odling-smee | Aug 7, 2009 2:24 am | |
| Michael Ludwig | Aug 7, 2009 3:00 am | |
| Dave Pawson | Aug 7, 2009 8:50 am | |
| Liam Quin | Aug 7, 2009 9:08 am | |
| Micah Dubinko | Aug 7, 2009 5:03 pm | |
| Micah Dubinko | Aug 7, 2009 5:05 pm | |
| Robert Koberg | Aug 7, 2009 5:08 pm | |
| Dave Pawson | Aug 12, 2009 12:34 am | |
| Dave Pawson | Aug 13, 2009 12:35 am | |
| Henri Sivonen | Aug 13, 2009 11:47 am | |
| Micah Dubinko | Aug 23, 2009 3:05 pm | |
| David Carver | Aug 23, 2009 4:21 pm | |
| Henri Sivonen | Aug 24, 2009 4:03 am |
| Subject: | Re: [xml-dev] Pragmatic namespaces | |
|---|---|---|
| From: | Micah Dubinko (Mica...@marklogic.com) | |
| Date: | Aug 2, 2009 9:21:43 pm | |
| List: | org.xml.lists.xml-dev | |
Hi Alain,
Requirement: Ask not if it is good enough, ask if it can be popular enough.
(Thanks to Douglas Crockford for the quote). This proposal will horrify the purists, but that's OK.
Yes, it's a very important point but I wouldn't like to reduce XML possibilities either. Easy for non-programmers, powerful for others : is it possible ?
Here's my current thinking. First I want to fully define what the "Java-style" namespaces syntax looks like when applied to HTML, and HTML-like XML. Even if that fails miserably it will at least help illuminate what the ultimate solution in HTMLn (where n >= 5) needs to look like. The kinds of suggestions that arise from this (including yours below) are indeed illuminating. :-)
At some point, my personal conjecture that the Java-style solution will work as-is will probably break down, in which case all these proposals will become very useful. So it's not that I'm ignoring these, just putting them on the stack.
Today it is commonplace to have documents that are well-formed XML (including namespace well-formedness), but treated by browsers as HTML tag soup. Even if these kinds of documents are less common than one would expect on the crawlable web, I see this use case as something that participants will find an important feature of the solution. A major goal of this proposal is to help smooth over those kinds of use cases.
ONLY on the root element is a problem for generic XML tools. The Component Manager I wrote for XSLTForms development environment can work for any XML document with its own namespaces, unknown by the Component Manager itself. With XSLT, xsl:copy-of can be used for a node from an external document, the stylesheet doesn't have to know each and every namespaces.
It's also a problem for XForms instance data.
Particularly while I'm in Java-namespace-isomorphic mode, I'm not convinced by this argument. After all, Java doesn't allow additional imports in the middle of a class or method. Making this more flexible has a cost associated with increased complexity, ability for code to surprise, and reduced ability to look in one place to see what's going on.
But there's a scope issue here too: generic XML tools are outside the scope of this proposal. It's dealing with HTML documents, and the subset of XML documents that happen to be HTML documents. It should be as easy as we can make it to produce these kinds of documents with XML tools, but not at the expense of complexificationizing the whole endeavor.
I'll have more to say in my response to Amy.
... list of grandfathered namespaces ...
It's pragmatic.
This kind of list should not change frequently. It sounds more than reserved prefixes.
I chose the word "grandfathered" carefully. The intent is a one-shot list, reflecting current practice of what kinds of things are meaningfully used in HTML-like XML today. Vocabularies developed in the future could either live with the reversed DNS name as the namespace, or perhaps this proposal will merge with something like XIN, also proposed on this list a few months ago, or round-trippable dotted names.
The grandfathering is a critical part of making something that works the way developers think. Java, for instance, contains a large number of built-in libraries for import. XML+XMLNS even has one predefined prefix, "xml". Many implementations have assumed more. When everyone (excepting pathological cases, whether document or person!) agrees what prefixes like "html" or "math" or "svg" stand for, it's hostile to require spelling it out repetitively. This is the place where purist arguments will find the strongest objection, but in a sense, a purist design got us to where we are today. Hence a proposal with "pragmatic" in the name. :)
Thank you for this proposal. Yes, something has to be done and it sounds much more easy this way.
If this proposal (or one like it) gets traction, a natural next step will be to apply the same principle to XPath so that in-scope prefixes are no longer needed in the content, and expressions can truly stand alone. E.g.
/html.head/html.body/xforms.model/org.example.data
Thanks, -m
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-...@lists.xml.org subscribe: xml-...@lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php





