| 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: | Pete Cordell (pete...@codalogic.com) | |
| Date: | Aug 5, 2009 3:17:00 am | |
| List: | org.xml.lists.xml-dev | |
Original Message From: "Micah Dubinko"
A set of "using" declarations could also work like the relatively well- known concept of DNS search domains.
Mentioning DNS gave me food for thought. Here's a proposal that has a hint of DNS and perhaps a hint of e-mail address resolution.
1) fully qualified names should have the form:
local_name:namespace
2) A name without a namespace belongs to the namespace of the elements nearest ancestor that does have a namespace.
3) A name can also be specified using a partial namespace, e.g.:
local_name:partial_namespace
4) Unless a name ends with a . or :, on encountering a (possibly) partial namespace, a search is made to see if an ancestor element has a namespace that starts with that partial namespace. If one is found, the namespace becomes that of the full namespace. For example, if an ancestor element has the name:
myName:proposal.example.com
then a name of:
anotherName:proposal
is treated as:
anotherName:proposal.example.com
If 'proposal' really is the full namespace, and an ancestor has a namespace of 'proposal.example.com' then you can prevent the expansion by doing:
anotherName:proposal.
Trailing .s and :s are obviously removed when selecting the namespace part.
5) For the purposes of HTML5, the HTML5 namespace can be considered to be in-scope prior to the start of parsing so that documents can start simply as:
<html ...
By way of example:
<html> <head> <root:myExtension.example.com> <child> <html:html> <body> <extra:myExtension/> </body> </html:html> </child> </root:myExtension.example.com> </head> ... </html>
- The outer 'html', and 'head' are part of the HTML5 namespace, which is assumed to be something like 'html.w3c.org'.
- The full name of 'child' is 'child:myExtension.example.com'.
- The 'html:html' takes us back to the HTML namespace, and so 'body' is part of the HTML namespace.
- 'extra:myExtension' is treated as 'extra:myExtension.example.com'.
I think this is simple and allows brevity without having to remember a lot of syntax. It puts the burden on the tools rather than on the document authors.
Regards,
Pete Cordell Codalogic Ltd Interface XML to C++ the easy way using XML C++ data binding to convert XSD schemas to C++ classes. Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com for more info
_______________________________________________________________________
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





