﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>XMLDEV Mailing List: An Email Discussion Forum for W3C XML technologies and XML development trends.</title><link>http://www.stylusstudio.com/blogs/xmldev/</link><description>XML-DEV is an open, un-moderated email list about XML development. Over the years it has been a popular forum for the development of emerging XML specifications and XML technology enthusiasts. XML Dev was founded in 1997 by Prof. Peter Murray-Rust and Dr. Henry Rzepa, and is presently managed by OASIS.</description><copyright>The XML DEV mailing list is managed by OASIS</copyright><ttl>5</ttl><item><title>JOIN The Oracle XML Database Team (System level development - Fulltime p</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal>Here is the Environment in which you will be working, inventing and patenting<o:p></o:p></p><ul type=disc><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Native storage and Indexes for XML content that can be structured, semi-structured and unstructured.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Query and manipulation of the content using XQuery 1.0, SQL/XML 2007, XSLT 1.0 <o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>XML repository that provides a file/folder metaphor with very efficient path based lookups, with support for ACLs, versioning and links <o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>HTTP/WebDAV, NFSv4, FTP and SQL access to the repository <o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Infrastructure for XML database, including Object technologies, Extensible Indexing framework and Large OBject (LOB) datatype support for the Oracle database. These technologies are used by several other internal and external customers besides XMLDB, including Life Sciences, Secure Enterprise Search, Spatial and Multimedia. <o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>End to End applications on top of XMLDB, such as XBRL and XML-search integration<o:p></o:p></li></ul><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>http://www.oracle.com/<br><span style='font-size:8.0pt;font-family:"Sylfaen","serif";color:#666666'>Colette Arno | Senior Recruiter<br>Phone: <a href="tel:+1%20530%20692%200143"><span style='color:black'>+1 530 692 0143</span></a> | Mobile: <a href="tel:+1%20415%20%20518%203604"><span style='color:black'>+1 415 518 3604</span></a> <br></span><span style='font-size:8.0pt;font-family:"Sylfaen","serif";color:red'>Oracle</span><span style='font-size:8.0pt;font-family:"Sylfaen","serif";color:#666666'> Recruiting</span><span style='font-size:8.0pt;font-family:"Sylfaen","serif"'><o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" align=center></div><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Sylfaen","serif"'>Refer a candidate:<br>https://apex.oraclecorp.com/pls/htmldb/f?p=15398<br><br>Prior to consideration for a position opportunity, Oracle Corporation requires candidates to register for their respective targeted position at http://irecruitment.oracle.com.<br>To complete the process please register as a user, then enter the applicable IRC code in the Keyword(s) search field.<br><br>Oracle Recruiting: &quot;Continuously selected by our clients as the exclusive vendor of preeminent talent&quot; <br>The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized.<br>If you are not the intended recipient, any disclosure, copying, distribution, or any action taken or omitted to betaken in reliance on it, is prohibited and may be unlawful.<br>No internal Oracle email, except that clearly intended for public distribution (e.g.Oracle Press Releases), should be sent to any party outside Oracle.<br><br>Oracle is committed to developing practices and products that help protect the environment<br><br>http://www.linkedin.com/in/colettearno<br>http://twitter.com/ColetteArno<br>http://www.google.com/profiles/colettearno<br>http://profile.to/colettearno<br>http://www.facebook.com/pages/Careers-at-Oracle/220602430520?ref=ts&amp;v=wall<br>Search jobs at Oracle: https://irecruitment.oracle.com/</span><span style='font-size:8.0pt;font-family:"Sylfaen","serif"'><o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:8.0pt;font-family:"Sylfaen","serif"'><hr size=2 width="100%" align=center></span></div><table class=MsoNormalTable border=0 cellspacing=3 cellpadding=0><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>http://www.oracle.com/commitment<span style='font-size:8.0pt;font-family:"Sylfaen","serif"'><o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Sylfaen","serif";color:#4B7D42'>Oracle is committed to developing practices and products that help protect the environment</span><span style='font-size:8.0pt;font-family:"Sylfaen","serif"'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201205/post90000.html</link><pubDate>Thu, 24 May 2012 17:40:16 GMT</pubDate></item><item><title>New CAM v2.2 XML Editor release with language localization support</title><description><![CDATA[<!--X-Body-of-Message-->
<span style="font-family:Verdana; color:#000000; font-size:10pt;"><div style="color: rgb(0, 0, 0); font-size: 10pt; "></div><h3 title"="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-size: 16px; font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; vertical-align: baseline; color: #333333; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-weight: normal; " mce_style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-size: 16px; font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; vertical-align: baseline; color: #333333; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-weight: normal; "><span mce_style="font-family: arial, helvetica, sans-serif;" style="font-family: arial, helvetica, sans-serif;"><span style="font-size: 10pt; color: rgb(51, 51, 51); " mce_style="font-size: 10pt; color: #333333;">The n</span><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); font-weight: normal; " mce_style="font-size: 13px; color: #000000; font-weight: normal;">ew release is now available with French, Spanish, Russian, Norwegian, Chinese and Japanese support</span></span></h3><h3 title"="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-size: 16px; font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; vertical-align: baseline; color: #333333; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-weight: normal; " mce_style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: normal; font-size: 16px; font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; vertical-align: baseline; color: #333333; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-weight: normal; "><span mce_style="font-family: arial, helvetica, sans-serif;" style="font-family: arial, helvetica, sans-serif;"><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); font-weight: normal; " mce_style="font-size: 13px; color: #000000; font-weight: normal;"> from </span>http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Ecameditor%2Eorg&amp;urlhash=1x2x&amp;_t=tracking_anet</span></h3><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: normal; font-style: normal; font-size: 13px; font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; vertical-align: baseline; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; clear: both; " mce_style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: normal; font-style: normal; font-size: 13px; font-family: Arial, Helvetica, Nimbus Sans L, sans-serif; vertical-align: baseline; color: #000000; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span style="font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; font-size: 13px; " mce_style="font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif; font-size: 13px; "><br>Highlights of the new release include the following:<br>o	International localization language support for menus and screens<br>o	JAXB binding and ConTessa support for XSD schema export<br>o	Better XSD schema importing and exporting<br>o	Dictionary collection manager wizard<br>o	Better dictionary namespace handling <br>o	Better UML physical model export to XMI 2.1.2 (now works with popular UML tools)<br>o	CAMV validation engine support for W3C DOM and extended API options<br><br>Notice the Dictionary Collection Manager tool uses enhanced namespace techniques. If working with NIEM then please download the latest NIEM dictionary pack from the Sourceforge project files repository &nbsp;to take advantage of these. &nbsp;New dictionaries generated automatically include the enhanced namespace support.<br><br>Enjoy, DW</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; "></div></span>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post80000.html</link><pubDate>Tue, 22 May 2012 15:09:16 GMT</pubDate></item><item><title>RE:  ANN: a tool that makes it easier to extract information ou</title><description><![CDATA[<!--X-Body-of-Message-->
<span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Roger,</div><div><br></div><div>This type of analysis and a whole lot more is supported by the CAM Editor also - see the Tools / Evaluation report option - and the "how to" video here: - http://sourceforge.net/apps/mediawiki/camprocessor/index.php?title=Tutorial.</div><div><br></div><div>You can also make dictionaries of the components in your schema and then reuse them via visual drag and drop designer.</div><div><br></div><div>The latest release of CAM Editor v2.2 just shipped today - see http://www.cameditor.org&nbsp;</div><div><br></div><div>Enjoy, DW</div>
<blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject:  ANN: a tool that makes it easier to extract<br>
information out of XML Schemas<br>
From: "Costello, Roger L." &lt;<a href="mailto:&#x63;o&#115;&#116;&#x65;&#108;&#108;o&#x40;m&#x69;tr&#x65;&#x2e;org">&#x63;o&#115;&#116;&#x65;&#108;&#108;o&#x40;m&#x69;tr&#x65;&#x2e;org</a>&gt;<br>
Date: Sat, May 19, 2012 2:43 pm<br>
To: "<a href="mailto:xml&#45;&#100;e&#x76;&#64;&#108;&#x69;&#115;&#x74;s.&#120;m&#108;&#46;&#111;rg">xml&#45;&#100;e&#x76;&#64;&#108;&#x69;&#115;&#x74;s.&#120;m&#108;&#46;&#111;rg</a>" &lt;<a href="mailto:xml&#45;&#100;e&#x76;&#64;&#108;&#x69;&#115;&#x74;s.&#120;m&#108;&#46;&#111;rg">xml&#45;&#100;e&#x76;&#64;&#108;&#x69;&#115;&#x74;s.&#120;m&#108;&#46;&#111;rg</a>&gt;<br>
<br>
Hi Folks,<br>
<br>
I created a tool that makes it easier for you to extract information <br>
out of XML Schemas.<br>
<br>
Here is the tool:<br>
<br>
http://www.xfront.com/XML-Schema-Tool-for-Easy-Information-Extraction/index.html  <br>
<br>
Motivation for the tool:<br>
<br>
Here are a few examples of queries that I've needed to perform<br>
on schemas in the past:<br>
<br>
- What are all the elements and attributes that are declared<br>
  to be of type xs:QName (or xs:string, or xs:gYear, etc.)?<br>
<br>
- For simpleType A, what are its applicable facets? (Take<br>
  into account the facets in all its ancestor simpleTypes)<br>
<br>
- How many element declarations are in the schema? How many<br>
  complexType definitions? simpleTypes? attributes?<br>
<br>
- How many lines of schema code are there?<br>
<br>
With my tool it is easy to get answers to those questions.<br>
<br>
Without this tool, it can be difficult to get the info you desire<br>
from XML Schemas. Here are a few reasons for the difficulty:<br>
<br>
1. The schema may be scattered over multiple files. So you have <br>
   to search through multiple files to find the info you want.<br>
<br>
2. A simpleType may be part of a long chain of restrictions. And the<br>
   simpleTypes may be scattered over multiple files. That<br>
   makes it difficult to know exactly what is the net value space <br>
   for the simpleType.<br>
<br>
3. Likewise a complexType may be part of a long chain of derive-by-<br>
   extensions and derive-by-restrictions. And the complexTypes<br>
   may be scattered over multiple files. That makes it difficult<br>
   to know exactly what is the final set of elements and attributes<br>
   in a complexType.<br>
<br>
4. An element may be substituted. So, many different elements may<br>
   be possible at a certain point in a schema.<br>
<br>
5. Consider an element declaration with a type attribute. The type<br>
   definition could be located in many places: in the document that<br>
   the element declaration is located in, in a document that it<br>
   includes or imports, or one that they include or import. It <br>
   could be in the document that included the document that<br>
   contains the element declaration. And many more places. Ouch!<br>
<br>
6. The elements and attributes in a no-namespace schema are<br>
   part of one namespace when they are included by a schema with<br>
   targetNamespace A and another namespace when they are included <br>
   by a schema with targetNamespace B.<br>
<br>
/Roger<br>
<br>
_______________________________________________________________________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:&#120;ml&#x2d;&#100;&#101;&#x76;-un&#x73;u&#98;scr&#x69;be&#64;&#x6c;&#x69;s&#x74;s&#x2e;xm&#108;&#x2e;&#x6f;&#114;g">&#120;ml&#x2d;&#100;&#101;&#x76;-un&#x73;u&#98;scr&#x69;be&#64;&#x6c;&#x69;s&#x74;s&#x2e;xm&#108;&#x2e;&#x6f;&#114;g</a><br>
subscribe: <a href="mailto:&#120;&#x6d;&#x6c;&#45;&#x64;&#101;&#118;-s&#117;bs&#99;&#114;ib&#101;&#x40;&#x6c;i&#x73;&#x74;&#x73;.xml.org">&#120;&#x6d;&#x6c;&#45;&#x64;&#101;&#118;-s&#117;bs&#99;&#114;ib&#101;&#x40;&#x6c;i&#x73;&#x74;&#x73;.xml.org</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br>

</div>
</blockquote></span>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post70000.html</link><pubDate>Tue, 22 May 2012 14:54:06 GMT</pubDate></item><item><title>ANN: a tool that makes it easier to extract information out of XMLSchema</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Folks,

I created a tool that makes it easier for you to extract information 
out of XML Schemas.

Here is the tool:

http://www.xfront.com/XML-Schema-Tool-for-Easy-Information-Extraction/index.html  

Motivation for the tool:

Here are a few examples of queries that I've needed to perform
on schemas in the past:

- What are all the elements and attributes that are declared
  to be of type xs:QName (or xs:string, or xs:gYear, etc.)?

- For simpleType A, what are its applicable facets? (Take
  into account the facets in all its ancestor simpleTypes)

- How many element declarations are in the schema? How many
  complexType definitions? simpleTypes? attributes?

- How many lines of schema code are there?

With my tool it is easy to get answers to those questions.

Without this tool, it can be difficult to get the info you desire
from XML Schemas. Here are a few reasons for the difficulty:

1. The schema may be scattered over multiple files. So you have 
   to search through multiple files to find the info you want.

2. A simpleType may be part of a long chain of restrictions. And the
   simpleTypes may be scattered over multiple files. That
   makes it difficult to know exactly what is the net value space 
   for the simpleType.

3. Likewise a complexType may be part of a long chain of derive-by-
   extensions and derive-by-restrictions. And the complexTypes
   may be scattered over multiple files. That makes it difficult
   to know exactly what is the final set of elements and attributes
   in a complexType.

4. An element may be substituted. So, many different elements may
   be possible at a certain point in a schema.

5. Consider an element declaration with a type attribute. The type
   definition could be located in many places: in the document that
   the element declaration is located in, in a document that it
   includes or imports, or one that they include or import. It 
   could be in the document that included the document that
   contains the element declaration. And many more places. Ouch!

6. The elements and attributes in a no-namespace schema are
   part of one namespace when they are included by a schema with
   targetNamespace A and another namespace when they are included 
   by a schema with targetNamespace B.

/Roger
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post60000.html</link><pubDate>Sat, 19 May 2012 18:43:09 GMT</pubDate></item><item><title>[announcement] XForms and XQuery courses, June 2012 in Rockville, Maryla</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
A quick reminder: tomorrow is the deadline for the early-registration discount 
for the XForms and XQuery courses in June. 

--CMSMcQ

[This announcement will be of interest primarily to those living
in or near Washington, DC, or planning to travel there for the
Joint Conference on Digital Libraries this June, and to those
interested in XForms and/or XQuery training.  If you know others
who meet that description, please forward this announcement to
them.  Thanks!  Others may stop reading now.]

Black Mesa Technologies is pleased to announce two hands-on
introductory courses, one on XForms and one on XQuery, to take place
in June 2012, in Rockville, Maryland (immediately before and after the
ACM/IEEE-CS Joint Conference on Digital Libraries on 10-14 June 2012
at George Washington University in Washington, DC).


INTRODUCTION TO XFORMS FOR XML USERS

  8-9 June 2012, 9:30 - 5:30
  http://www.blackmesatech.com/2012/06/xforms/

  XForms allows you to develop vocabulary- and task-specific editors
  which require less training and provide better task-specific
  support than full XML editors; domain experts can thus examine and
  modify XML encoding mor easily, and routine tasks can be performed
  more quickly and reliably.

  This course introduces XForms as a technology for building
  special-purpose XML editors with focused functionality and
  correspondingly simple user interfaces. XForms is built on the
  model / view / controller idiom, in which the 'model' is a set of
  XML documents, the 'view' is specified using XHTML and XForms
  widgets, and the 'controller' takes the form of declarative links
  between widgets and elements or attributes in the XML documents.


XQUERY FOR DOCUMENTS

  15-16 June 2012, 9:30 - 5:30
  http://www.blackmesatech.com/2012/06/xquery/

  This course introduces XQuery as a flexible language for working
  with natural-language documents (books, prose, verse, drama,
  correspondence, historical documents, articles, legislation, etc.)
  encoded in XML. The focus is on the application of XQuery to
  textual material with complex and variable structure, as opposed to
  the typically simpler, more regular structures of data-oriented
  XML.  The course will cover XPath location paths, atomic values,
  sequences of values, the XDM data model, FLWOR expressions,
  function declarations, regular expressions and string manipulation,
  collections, and the full-text extensions to XQuery.


LOGISTICS

The courses will be held Friday and Saturday, 8-9 June 2012 (XForms)
and Friday and Saturday, 15-16 June 2012 (XQuery), from 9:30 a.m. to
5:30 p.m. at

  Mulberry Technologies, Inc.
  17 West Jefferson St., Suite 207
  Rockville, MD 20850

For other logistical information, see 

   http://www.blackmesatech.com/2011/06/xforms
   http://www.blackmesatech.com/2011/06/xquery

Thanks to Mulberry Technologies for hosting the courses.

Other courses that may be relevant to potential attendees (XML Basics,
Schematron, XSLT/XPath Basics, and XSL-FO) are offered in the same
venue on earlier days; see Mulberry Technologies' list of upcoming
classes at

 http://www.mulberrytech.com/services/classes/upcoming.html


REGISTRATION / INFO

To reserve a space, to register, or to ask for more information,
please send email to in&#x66;&#x6f;&#x40;b&#108;&#97;c&#x6b;m&#x65;&#x73;&#97;te&#x63;h.c&#111;m or call us at
505/747-4224.


FUTURE ANNOUNCEMENTS

[If you'd like to receive announcements of future courses (etc.) by
email, go to http://lists.blackmesatech.com/blackmesatech-announce-l/
to sign up for the Black Mesa Technologies announcement list.]


-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************




</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post50000.html</link><pubDate>Thu, 10 May 2012 08:21:47 GMT</pubDate></item><item><title>[ANN] Release of XMLmind XML Editor v5.2.1</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
XMLmind is happy to announce the version 5.2.1 of XMLmind XML Editor.
     _____________________________________________

XMLmind XML Editor Personal Edition v5.2.1 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/xmleditor/upgrade.html.)
     _____________________________________________

XMLmind XML Editor v5.2.1 (May 9, 2012):
----------------------------------------

New &quot;Easy Selection Mode&quot;.

Several other enhancements (sort table rows,
preview converted document, etc).

Some bug fixes.
     _____________________________________________

&quot;Easy Selection Mode&quot; Primer:
http://www.xmlmind.com/xmleditor/_tutorial/easyselect_primer/index.html

&quot;Easy Selection Mode&quot; Screencast:
http://www.xmlmind.com/xmleditor/_tutorial/easyselect_primer/video/easyselect_primer.html

More information:
http://www.xmlmind.com/xmleditor/changes.html


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post40000.html</link><pubDate>Wed, 09 May 2012 12:59:30 GMT</pubDate></item><item><title>Re:  Validating data-* attributes in XHTML5?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Graham Hannington scripsit:

&gt; I am aware of http://html5.validator.nu/ and its associated 
&gt; http://about.validator.nu/, and I am learning (for example, about Relax 
&gt; NG).

RELAX NG supports wildcard element and attribute names of the form *,
prefix:*, and *:*, but not of the form data-*, unfortunately

-- 
Principles.  You can't say A is         John Cowan &lt;&#x63;o&#x77;&#x61;n&#64;cci&#108;&#x2e;o&#114;g&gt;
made of B or vice versa.  All mass      http://www.ccil.org/~cowan
is interaction.  --Richard Feynman
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post30000.html</link><pubDate>Sun, 06 May 2012 01:59:49 GMT</pubDate></item><item><title>Validating data-* attributes in XHTML5?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Preamble (if you prefer, skip to the &quot;Question(s)&quot; heading):

I am lagging (years) behind in my knowledge of HTML5 - I have been fixated 
on XHTML 1.0 Strict compliance - but I am trying to catch up.

Someone (thank you, Chris!) recently pointed out to me that HTML5 allows 
attributes named data-* (for example, data-atlassian-layout).

I had observed the use of data-* attributes by various applications, but 
the news of the inclusion of these attributes in the HTML5 spec frankly 
blindsided me (I did say I was far behind).

As mentioned in a recent thread on this mailing list, I have developed a 
DTD and XSDs (W3C XML Schema 1.0) for an XML vocabulary that consists of a 
combination of:
- Proprietary elements and their attributes, and
- Elements that have the same name as elements in XHTML (so far, 
exclusively from XHTML 1.0; and - until now, hence this email - with 
attributes that are a subset of the attributes allowed in XHTML 1.0 
Strict).

This XML vocabulary is evolving. The developers have begun using a 
data-atlassian-layout attribute on div elements.

I have added corresponding explicit definitions for this new attribute to 
the DTD and XSD (for that particular target namespace). But it's raised 
some questions in my mind.

Question(s):

It occurs to me that HTML5 allowing data-* attributes means that any given 
XHTML5 document instance cannot be validated using a fixed, standard XML 
DTD or W3C XML Schema 1.0 (or 1.1, for that matter) document (XSD). 
Because (to my knowledge), DTDs and XSDs require you to explicitly specify 
attribute names; you cannot, in these particular schema languages, define 
attributes with wildcarded names. If an XHTML5 document instance contains 
data-* attributes, then, if you want to use a DTD or an XSD to validate 
it, the DTD or XSD must explicitly define those particular data-* 
attribute names (data-this, data-that; not just data-*). Correct?

Effectively the same point/question, stated slightly differently... With 
XHTML 1.0, one could use a standard DTD/XSD from W3C, unmodified, to 
validate all XHTML 1.0 document instances. It seems to me that you will 
not be able to use a single, standard DTD/XSD from W3C to validate all 
XHTML5 document instances. You'll need to define any data-* attributes. 
Correct?

I imagine that the reaction of many readers will be (a more erudite 
version of) &quot;Well, d'uh! Have you been living under a rock?&quot; I've Googled, 
but have so far not found any rock-solid ;-) answers to this specific 
issue.

Are there any other aspects of XHTML5 that introduce new* problems for 
validating with DTD/XSDs?

* Specifically, compared to validating XHTML 1.0 with DTD/XSDs? (I do not 
seek an answer that covers *all* of the shortcomings of these two schema 
languages - such as the inability to describe various kinds of constraints 
- although I understand that some of these shortcomings are likely to be 
closely tied to the problems with validating XHTML5 versus validating 
XHTML 1.0.)

I am aware of http://html5.validator.nu/ and its associated 
http://about.validator.nu/, and I am learning (for example, about Relax 
NG).

Graham Hannington
Perth, Western Australia

Fundi Software Pty Ltd  2012  ABN 89 009 120 290


This message has been scanned for malware by Websense. www.websense.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post10000.html</link><pubDate>Sat, 05 May 2012 21:59:24 GMT</pubDate></item><item><title>Re:  Validating data-* attributes in XHTML5?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
In XSD 1.0 you can allow these attributes (and many others of course) by 
use of an &lt;xs:anyAttribute&gt; wildcard.

In XSD 1.1 you can then constrain the attribute names that match the 
wildcard using assertions.

It has always been the case, of course, that not all rules in the XHTML 
specification are capable of being expressed in XSD. The same applies to 
most other vocabularies (including XSD itself).

Michael Kay
Saxonica

On 05/05/2012 14:59, Graham Hannington wrote:
&gt; Preamble (if you prefer, skip to the &quot;Question(s)&quot; heading):
&gt;
&gt; I am lagging (years) behind in my knowledge of HTML5 - I have been fixated
&gt; on XHTML 1.0 Strict compliance - but I am trying to catch up.
&gt;
&gt; Someone (thank you, Chris!) recently pointed out to me that HTML5 allows
&gt; attributes named data-* (for example, data-atlassian-layout).
&gt;
&gt; I had observed the use of data-* attributes by various applications, but
&gt; the news of the inclusion of these attributes in the HTML5 spec frankly
&gt; blindsided me (I did say I was far behind).
&gt;
&gt; As mentioned in a recent thread on this mailing list, I have developed a
&gt; DTD and XSDs (W3C XML Schema 1.0) for an XML vocabulary that consists of a
&gt; combination of:
&gt; - Proprietary elements and their attributes, and
&gt; - Elements that have the same name as elements in XHTML (so far,
&gt; exclusively from XHTML 1.0; and - until now, hence this email - with
&gt; attributes that are a subset of the attributes allowed in XHTML 1.0
&gt; Strict).
&gt;
&gt; This XML vocabulary is evolving. The developers have begun using a
&gt; data-atlassian-layout attribute on div elements.
&gt;
&gt; I have added corresponding explicit definitions for this new attribute to
&gt; the DTD and XSD (for that particular target namespace). But it's raised
&gt; some questions in my mind.
&gt;
&gt; Question(s):
&gt;
&gt; It occurs to me that HTML5 allowing data-* attributes means that any given
&gt; XHTML5 document instance cannot be validated using a fixed, standard XML
&gt; DTD or W3C XML Schema 1.0 (or 1.1, for that matter) document (XSD).
&gt; Because (to my knowledge), DTDs and XSDs require you to explicitly specify
&gt; attribute names; you cannot, in these particular schema languages, define
&gt; attributes with wildcarded names. If an XHTML5 document instance contains
&gt; data-* attributes, then, if you want to use a DTD or an XSD to validate
&gt; it, the DTD or XSD must explicitly define those particular data-*
&gt; attribute names (data-this, data-that; not just data-*). Correct?
&gt;
&gt; Effectively the same point/question, stated slightly differently... With
&gt; XHTML 1.0, one could use a standard DTD/XSD from W3C, unmodified, to
&gt; validate all XHTML 1.0 document instances. It seems to me that you will
&gt; not be able to use a single, standard DTD/XSD from W3C to validate all
&gt; XHTML5 document instances. You'll need to define any data-* attributes.
&gt; Correct?
&gt;
&gt; I imagine that the reaction of many readers will be (a more erudite
&gt; version of) &quot;Well, d'uh! Have you been living under a rock?&quot; I've Googled,
&gt; but have so far not found any rock-solid ;-) answers to this specific
&gt; issue.
&gt;
&gt; Are there any other aspects of XHTML5 that introduce new* problems for
&gt; validating with DTD/XSDs?
&gt;
&gt; * Specifically, compared to validating XHTML 1.0 with DTD/XSDs? (I do not
&gt; seek an answer that covers *all* of the shortcomings of these two schema
&gt; languages - such as the inability to describe various kinds of constraints
&gt; - although I understand that some of these shortcomings are likely to be
&gt; closely tied to the problems with validating XHTML5 versus validating
&gt; XHTML 1.0.)
&gt;
&gt; I am aware of http://html5.validator.nu/ and its associated
&gt; http://about.validator.nu/, and I am learning (for example, about Relax
&gt; NG).
&gt;
&gt; Graham Hannington
&gt; Perth, Western Australia
&gt;
&gt; Fundi Software Pty Ltd  2012  ABN 89 009 120 290
&gt;
&gt;
&gt; This message has been scanned for malware by Websense. www.websense.com
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#x6d;&#x6c;-d&#x65;&#x76;&#x2d;&#x75;nsu&#98;scri&#98;e&#64;&#108;i&#x73;t&#115;&#46;&#120;ml&#x2e;or&#103;
&gt; subscribe: &#120;&#x6d;&#108;-dev&#x2d;&#115;ubs&#x63;ri&#x62;&#101;&#64;l&#105;s&#x74;&#115;&#x2e;xml.o&#x72;g
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post20000.html</link><pubDate>Sat, 05 May 2012 17:49:29 GMT</pubDate></item><item><title>RE:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Graham,

&gt; &lt;uri name=&quot;http://www.atlassian.com/schema/confluence/4/ac/&quot;
uri=&quot;confluence.xsd&quot;/&gt;

in XML ValidatorBuddy you have a single command to add any W3C schema with a
target namespace to the XML catalog to create such an &lt;uri&gt; entry for any
following validation. There is also no need to provide a schemaLocation
attribute in the XML instance. The schema mapping takes place when the
namespace is used.

I guess this is close to how you would expect it.

Kind regards
Clemens Uhlenhut
http://www.xml-tools.com

 

________________________________________
From: Graham Hannington [<A  HREF="mailto:&#x67;&#114;ah&#97;&#x6d;_h&#x61;nni&#x6e;g&#116;o&#x6e;&#x40;&#102;u&#110;&#100;i.&#99;o&#x6d;.a&#x75;">mailto:&#x67;&#114;ah&#97;&#x6d;_h&#x61;nni&#x6e;g&#116;o&#x6e;&#x40;&#102;u&#110;&#100;i.&#99;o&#x6d;.a&#x75;</A>] 
Sent: Freitag, 20. April 2012 09:33
To: &#x78;&#x6d;&#x6c;&#45;&#x64;&#x65;&#x76;&#x40;l&#105;&#115;&#x74;s.&#120;&#x6d;&#x6c;.o&#114;g
Subject: Re:  If I want to use catalogs for XSDs, must document
instances contain a schemaLocation?

Liam,

Thank you very much for your quick and informative response, it's much
appreciated.

Regarding your statement:

&gt; doing it based on namespace URIs would not be a good way

I hope you don't think I'm splitting hairs; I sincerely want to understand
this...

Here's how I think it works. When an XML document instance contains the
following schemaLocation attribute:

xsi:schemaLocation=&quot;http://www.atlassian.com/schema/confluence/4/ac/confluen
ce.xsd&quot;

my understanding is that catalog-aware XML applications (such as XMLSpy)
look at the first part of that attribute value*, match it with the value of
the name attribute of the following uri element in the catalog:

&lt;uri name=&quot;http://www.atlassian.com/schema/confluence/4/ac/&quot;
uri=&quot;confluence.xsd&quot;/&gt;

and then load the XSD referred to by the uri attribute
(uri=&quot;confluence.xsd&quot;).

* From the &quot;XML Schema Part 0: Primer Second Edition&quot;
(http://www.w3.org/TR/xmlschema-0/#schemaLocation)

&gt; The schemaLocation attribute value consists of one or more pairs of URI
references, separated by white space. The first member of each pair is a
namespace name

That is, although an XML application isn't doing it based on the value of
xmlns: attributes (as you say: &quot;Neither should it.&quot;), it seems to me that it
*is* doing it based on namespace URIs (specifically, the first member of
each pair of URI references in a schemaLocation attribute value).

Am I just splitting hairs, or am I (as I suspect) missing a deeper point
here?

Also this:

&gt; There is no direct mapping between namespace URIs and Schema documents

Now - with apologies, I do not mean to try your patience or waste your time;
I do read and re-read the related W3C documents, and some of it has sunk in
- I really think I am missing a deeper point here, because, as described
above, I think a direct mapping between a namespace URI and a schema
document is exactly the process that I've just described above, and is
exactly what that uri element in a catalog does:

&lt;uri name=&quot;http://www.atlassian.com/schema/confluence/4/ac/&quot;
uri=&quot;confluence.xsd&quot;/&gt;

If this uri element does not directly map a namespace URI to a schema
document, what does it do?

Finally:

&gt; the relationship is that Schema documents may define elements associated
with one or more namespace URIs.

I'm not saying that you're asserting otherwise, but I want to confirm that
my current understanding in this area is correct. I think that one schema
document (XSD; a single .xsd file) can define elements associated with only
one namespace URI (its target namespace). An XSD (again, I mean,
specifically, a single .xsd file) can use &lt;import&gt; elements to import
element definitions associated with other namespace URIs, but that is not
quite the same as one XSD defining elements associated with multiple
namespace URIs. An XML vocabulary that involves more than one namespace
cannot be defined in a single .xsd file. Am I correct? If not, could you
please point me to, or provide, an example of a single XSD that defines
elements associated with more than one namepace URI? (The XSD mentioned in
my examples, confluence.xsd - which I wrote - uses import elements to refer
to two other XSDs.)

I hope you don't think that I'm challenging you. That's not my intention. I
am sincerely grateful for your initial reply. Having gained your attention
(and noting your signature line), I am, without wanting to take up too much
of your time, hoping to learn more. And I am prepared to publicly expose my
ignorance to do so :-).

Graham Hannington
Perth, Western Australia
Fundi Software Pty Ltd 2011 ABN 89 009 120 290
=
This message has been scanned for malware by Websense. www.websense.com

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201205/post00000.html</link><pubDate>Wed, 02 May 2012 13:55:22 GMT</pubDate></item><item><title>[ANN] BaseX 7.2.1: The Spring Edition</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Dear all,

once more, we are proud to announce a new version of BaseX!
And once more, we can provide you with a whole bunch of
new features:

* Our value indexes now support string-based range queries:
 http://docs.basex.org/wiki/Indexes#Value_Indexes
 A big thank you to our sponsors who made this possible!

* Our new XQJ API is based on Charles Foster's implementation.
 It fully utilizes the client/server architecture:
 http://xqj.net/basex

* Import of XQuery modules has been simplified:
 http://docs.basex.org/wiki/Repository

* Simplified invocation of Java code from XQuery:
 http://docs.basex.org/wiki/Java_Bindings

* Full support for the XQuery 3.0 Regular Expressions syntax:
 http://www.w3.org/TR/xpath-functions-30/#regex-syntax

* Updating functions can now return values:
 http://docs.basex.org/wiki/Database_Module#db:output

* Unified handling of document and database URIs:
 http://docs.basex.org/wiki/Databases#Access_Resources

* Pinning of opened database replaced by filesystem locking:
 http://docs.basex.org/wiki/Transaction_Management#Locking

* REST, RESTXQ, WebDav: concurrency issues fixed

As usual, we are looking to your feedback. Have fun,

Christian
BaseX Team
http://basex.org
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70100.html</link><pubDate>Fri, 27 Apr 2012 17:36:36 GMT</pubDate></item><item><title>Re:  Incompleteness of Duration</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>


On 25/04/2012 16:40, John Cowan wrote:
&gt; Greg Hunt scripsit:
&gt;
&gt;&gt; To the extent that ISO is a culture all to itself (the ISO definition of a
&gt;&gt; week does not align with traditional Christian, Islamic or Jewish calendars
&gt;&gt; but does seem to be well suited for the Western working week), Mike's point
&gt;&gt; about the start, definition and numbering of weeks seems to be reinforced
&gt;&gt; by your comment.
&gt; Well, no doubt.  But the fact that YYYY-MM-DD is a relatively uncommon
&gt; way of writing dates (mostly found in East Asia) didn't stop ISO from
&gt; standardizing it or XML Schema datatypes from adopting it.  So &quot;Ways of
&gt; conceptualizing the week are diverse&quot; is not an argument against accepting
&gt; the ISO way, any more than &quot;Ways of writing the date are diverse&quot; is.
The use of a numeric day, month, and year to represent a day in the 
calendar is very common around the world, and all that ISO did was to 
define a machine-readable notation for expressing the day, month, and 
year for use in software-to-software communication. Wider adoption of 
that format for human consumption came later, and was not part of the 
original intent of the ISO standard.

As for week numbers, as I said before, it's all a question of how you 
decide where to draw the line. As with proposals to add things to the 
XPath function library it's very hard to find a convincing objective 
test for what should go in and what shouldn't. If you shout loud enough, 
and give the impression that you're not the only person shouting, then 
people will eventually put it in to keep you quiet - lots of 
inappropriate things are in the XSD specification for that reason.

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60100.html</link><pubDate>Wed, 25 Apr 2012 16:56:16 GMT</pubDate></item><item><title>Re:  Incompleteness of Duration</title><description><![CDATA[<!--X-Body-of-Message-->
<div class="gmail_extra">To the extent that ISO is a culture all to itself (the ISO definition of a week does not align with traditional Christian, Islamic or Jewish calendars but does seem to be well suited for the Western working week), Mike&#39;s point about the start, definition and numbering of weeks seems to be reinforced by your comment.  <br>
<br><div class="gmail_quote">On Sun, Apr 22, 2012 at 6:03 AM, John Cowan <span dir="ltr">&lt;<a href="mailto:c&#x6f;w&#97;&#x6e;&#x40;&#x6d;&#101;&#x72;cur&#121;.c&#x63;il&#x2e;o&#x72;g" target="_blank">c&#x6f;w&#97;&#x6e;&#x40;&#x6d;&#101;&#x72;cur&#121;.c&#x63;il&#x2e;o&#x72;g</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Michael Kay scripsit:<br>
<div class="im"><br>
&gt; It&#39;s worth noting that whereas there is some kind of consensus on<br>
&gt; when seconds, minutes, hours, days, months, and years start and end<br>
&gt; (subject to timezone issues), there is no consensus on when a week<br>
&gt; starts or ends.<br>
<br>
</div>There is, however, an ISO standard: weeks begin on Monday, and the first<br>
week of the year is the week containing the first Thursday in January.<br>
Thus 2005-01-01, a Saturday, is synonymous with 2005-W53-6, the sixth<br>
day of the 53rd and last week of 2004.<br>
<br>
Note that XSD time does not include leap seconds, which means that the<br>
XSD 1.1 value space for durations contains &lt;second, month&gt; pairs.<br>
There are a fixed number of seconds in a minute, hour, and day, and a<br>
fixed number of months in a year.<br>
<br>
--<br>
&quot;Repeat this until &#39;update-mounts -v&#39; shows no updates.         John Cowan<br>
You may well have to log in to particular machines, hunt down   <a href="mailto:co&#119;&#97;&#110;&#64;&#99;&#99;&#105;l.o&#x72;g">co&#119;&#97;&#110;&#64;&#99;&#99;&#105;l.o&#x72;g</a><br>
people who still have processes running, and kill them.&quot;<br>
<br>
_______________________________________________________________________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:x&#109;&#108;-dev&#45;u&#x6e;su&#98;&#115;c&#114;ib&#101;&#64;li&#x73;t&#115;.&#120;&#109;l&#x2e;or&#103;">x&#109;&#108;-dev&#45;u&#x6e;su&#98;&#115;c&#114;ib&#101;&#64;li&#x73;t&#115;.&#120;&#109;l&#x2e;or&#103;</a><br>
subscribe: <a href="mailto:xm&#108;&#x2d;&#x64;ev&#x2d;sub&#x73;c&#x72;ibe&#64;&#108;&#x69;s&#x74;s&#x2e;&#x78;ml.o&#114;&#103;">xm&#108;&#x2d;&#x64;ev&#x2d;sub&#x73;c&#x72;ibe&#64;&#108;&#x69;s&#x74;s&#x2e;&#x78;ml.o&#114;&#103;</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br>
</blockquote></div><br></div>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40100.html</link><pubDate>Wed, 25 Apr 2012 12:16:30 GMT</pubDate></item><item><title>Re:  Incompleteness of Duration</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Greg Hunt scripsit:

&gt; To the extent that ISO is a culture all to itself (the ISO definition of a
&gt; week does not align with traditional Christian, Islamic or Jewish calendars
&gt; but does seem to be well suited for the Western working week), Mike's point
&gt; about the start, definition and numbering of weeks seems to be reinforced
&gt; by your comment.

Well, no doubt.  But the fact that YYYY-MM-DD is a relatively uncommon
way of writing dates (mostly found in East Asia) didn't stop ISO from
standardizing it or XML Schema datatypes from adopting it.  So &quot;Ways of
conceptualizing the week are diverse&quot; is not an argument against accepting
the ISO way, any more than &quot;Ways of writing the date are diverse&quot; is.

It's true that Zawinski's Snowclone says: &quot;People say, 'There are N
ways to do things.  I know!  We'll create an international standard!'
Now there are N + 1 ways of doing things.&quot;  But examples like ASCII and
Unicode show that if you want a while, and the standard is really good
enough for its time, the other N ways of doing things become marginalized
and may even disappear: who uses Baudot or Flexowriter codes, or American
Morse, today?

-- 
Said Agatha Christie / To E. Philips Oppenheim  John Cowan
&quot;Who is this Hemingway? / Who is this Proust?   c&#111;&#119;an&#x40;&#99;ci&#x6c;&#x2e;org
Who is this Vladimir / Whatchamacallum,         http://www.ccil.org/~cowan
This neopostrealist / Rabble?&quot; she groused.
        --George Starbuck, Pith and Vinegar
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50100.html</link><pubDate>Wed, 25 Apr 2012 11:40:07 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Jirka Kosek writes:

&gt; Might be I'm not understanding you correctly Liam, but IMHO namespace
&gt; URI is perfect way to *indirectly* say where the schema is located.

Indeed the W3C XML Schema specification says this explicitly [1]:

 The author of a document uses namespace declarations to indicate the
 intended interpretation of names appearing therein; it is possible
 but not guaranteed that a schema is retrievable via the namespace
 name.

&gt; Good XML application support mapping file where namespace URI can be
&gt; mapped to schema which should be used for validation. Graham should
&gt; inspect his tool whether it provides such facility. In oXygen there is
&gt; Document Type Association option for this, Emacs+nxml support
&gt; locatingRules, NVDL can be used for this as well.

XSV supports RDDL at the namespace URI for this purpose, and gives
user control on whether namespace URIs are dereferenced or not.

ht

[1] http://www.w3.org/TR/xmlschema11-1/#schema-loc
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: &#104;&#116;&#64;&#105;&#x6e;&#102;&#46;&#101;d.&#97;c&#x2e;uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20100.html</link><pubDate>Tue, 24 Apr 2012 09:50:58 GMT</pubDate></item><item><title>RE:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
While the W3C Guidance is useful, it may not be what determines what and how
Victor does this. Where and for whom Victor is writing the specification
does. 

I have prepared several schemas as part of OASIS specifications. Those
schemas followed OASIS rules for naming and location and support of RDDL.
Other groups have their own rules. Within the schemas mentioned above, there
were specific references to UN CEFACT schemas and to OGC schemas, each
addressable, but with slightly different rules. They also referenced an
older namespace with a URN initially defined in an RFC.

In short, there is no universal &quot;correct&quot; way to do this. If you are
preparing a Standard, then the Standards Development Organization (SDO) may
well have explicit requirements and expectations.


&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker

Toby Considine
TC9, Inc
TC Chair: oBIX &amp; WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  
Email: To&#x62;y&#46;&#x43;&#x6f;ns&#x69;d&#x69;ne&#64;&#103;m&#97;i&#x6c;&#46;&#99;&#111;m
Phone: (919)619-2104
http://www.tcnine.com/
blog: www.NewDaedalus.com



-----Original Message-----
From: Henry S. Thompson [<A  HREF="mailto:h&#x74;&#x40;&#x69;n&#x66;.&#x65;d.ac.uk">mailto:h&#x74;&#x40;&#x69;n&#x66;.&#x65;d.ac.uk</A>] 
Sent: Tuesday, April 24, 2012 4:46 AM
To: Victor Porton
Cc: x&#109;l&#45;dev&#64;&#108;is&#x74;&#115;.&#120;ml.o&#x72;g
Subject: Re:  If I want to use catalogs for XSDs, must document
instances contain a schemaLocation?

Victor Porton writes:

&gt; I am writing a standard about what should be located at namespace URLs.

The W3C has already published guidance on this topic: you should look at the
TAG finding

 Associating Resources with Namespaces [1]

ht

[1] http://www.w3.org/2001/tag/doc/nsDocuments/
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: h&#x74;&#64;i&#x6e;&#x66;&#x2e;&#x65;d.&#x61;c&#46;u&#107;
                       URL: http://www.ltg.ed.ac.uk/~ht/  [mail from me
_always_ has a .sig like this -- mail without it is forged spam]

_______________________________________________________________________

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: xm&#108;-&#100;e&#118;-u&#x6e;&#x73;ub&#115;&#x63;r&#x69;&#98;&#x65;&#64;li&#x73;t&#115;.&#120;ml.or&#103;
subscribe: x&#x6d;&#x6c;&#45;dev-&#x73;ub&#x73;&#99;ri&#x62;&#101;&#64;&#108;i&#x73;&#x74;&#115;&#46;xml.org List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30100.html</link><pubDate>Tue, 24 Apr 2012 09:45:58 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Victor Porton writes:

&gt; I am writing a standard about what should be located at namespace URLs.

The W3C has already published guidance on this topic: you should look
at the TAG finding

 Associating Resources with Namespaces [1]

ht

[1] http://www.w3.org/2001/tag/doc/nsDocuments/
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht&#x40;&#105;&#110;f.ed.&#x61;c&#x2e;u&#x6b;
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10100.html</link><pubDate>Tue, 24 Apr 2012 09:45:33 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must  document instanc</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
23.04.2012, 23:53, &quot;G. Ken Holman&quot; &lt;&#103;&#107;hol&#x6d;a&#110;&#64;&#x43;ran&#x65;So&#102;&#x74;w&#114;ights.&#x63;om&gt;:
&gt; I hope this is considered helpful, especially if
&gt; you've not heard of RDDL before.

Yes, I've not hear about RDDL before. I've written a note that I should integrate my standard with RDDL.

But as of now I use my free time for abstract mathematical research and am going to work with XML in an indefinite future.

-- 
Victor Porton - http://portonvictor.org
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00100.html</link><pubDate>Mon, 23 Apr 2012 23:59:18 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
23.04.2012, 23:28, &quot;Liam R E Quin&quot; &lt;lia&#x6d;&#64;w&#51;&#x2e;&#111;r&#x67;&gt;:
&gt; On Mon, 2012-04-23 at 12:31 +0200, Jirka Kosek wrote:
&gt;
&gt;&gt; Å¡Might be I'm not understanding you correctly Liam, but IMHO namespace
&gt;&gt; Å¡URI is perfect way to *indirectly* say where the schema is located.
&gt;&gt;
&gt;&gt; Å¡Good XML application support mapping file where namespace URI can be
&gt;&gt; Å¡mapped to schema which should be used for validation.
&gt;
&gt; Yes, that aspect is fine. Blindly dereferencing the namespace and
&gt; expecting to find a schema there is what I was saying is not fine.

I am writing a standard about what should be located at namespace URLs.

This should contain not only schemas (of any kind) but also rules for transformations between different namespaces.

I think this is an important standard (when I will release a good draft), but we need work on its promotion to become an agreed industry standard. Your help to promote it could be essential.

http://freesoft.portonvictor.org/binaries/Namespace_Semantic.doc

&gt;&gt; Å¡In theory on namespace URI could reside RDDL document which can point to
&gt;&gt; Å¡XML schema, but past experience with heavy loaded network resources
&gt;&gt; Å¡(XHTML DTDs) shows that's not wise to depend on such approach in an
&gt;&gt; Å¡application.
&gt;
&gt; The XML Plenary failed to get consensus on whether it was acceptable to
&gt; define anything at a namespace URI, or even if it was OK to try to
&gt; dereference them.
&gt;
&gt; If applications did start, you're right, W3C would have to block the
&gt; ones on our servers, as we have to do for the DTDs and XSD files.


-- 
Victor Porton - http://portonvictor.org
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80090.html</link><pubDate>Mon, 23 Apr 2012 23:44:41 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
At 2012-04-23 23:44 +0300, Victor Porton wrote:
&gt;23.04.2012, 23:28, &quot;Liam R E Quin&quot; &lt;&#108;i&#97;&#x6d;&#64;&#x77;3.or&#103;&gt;:
&gt; &gt; On Mon, 2012-04-23 at 12:31 +0200, Jirka Kosek wrote:
&gt; &gt;
&gt; &gt;&gt; Might be I'm not understanding you correctly Liam, but IMHO namespace
&gt; &gt;&gt; URI is perfect way to *indirectly* say where the schema is located.
&gt; &gt;&gt;
&gt; &gt;&gt; Good XML application support mapping file where namespace URI can be
&gt; &gt;&gt; mapped to schema which should be used for validation.
&gt; &gt;
&gt; &gt; Yes, that aspect is fine. Blindly dereferencing the namespace and
&gt; &gt; expecting to find a schema there is what I was saying is not fine.
&gt;
&gt;I am writing a standard about what should be located at namespace URLs.

Why compete with RDDL?  http://www.rddl.org

With RDDL you simultaneously get both human 
readable and machine readable information about 
the XML vocabulary.  RDDL attributes are simply added to XHTML pages.

OASIS Open uses the RDDL specification and here 
are the namespace URI pages for two of the 
standard XML vocabularies I've worked on in the code list technical committee:

   http://docs.oasis-open.org/codelist/ns/genericode/1.0/
   http://docs.oasis-open.org/codelist/ns/ContextValueAssociation/1.0/

I've published a free stylesheet to help people 
write RDDL pages for their namespace URIs:

   http://www.CraneSoftwrights.com/resources/#showrddl

There is no standard layout for an XHTML/RDDL 
page ... it can be whatever you want and you can 
point to whatever resources you want.  It is all 
useful information and both human and machine 
discoverable through the namespace URI.

&gt;This should contain not only schemas (of any 
&gt;kind) but also rules for transformations between different namespaces.

It shouldn't contain anything but pointers to all 
of the possible things that might be of interest 
to users of the XML vocabulary.

&gt;I think this is an important standard (when I 
&gt;will release a good draft), but we need work on 
&gt;its promotion to become an agreed industry 
&gt;standard. Your help to promote it could be essential.

I think promoting something that competes with an 
established practice doesn't help the existing community of users.

I hope this is considered helpful, especially if 
you've not heard of RDDL before.

. . . . . . . . . . Ken

--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- May 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   <A  HREF="mailto:&#103;kholm&#97;&#x6e;&#64;C&#114;an&#101;So&#x66;&#x74;&#x77;righ&#x74;s.&#99;&#111;m">mailto:&#103;kholm&#97;&#x6e;&#64;C&#114;an&#101;So&#x66;&#x74;&#x77;righ&#x74;s.&#99;&#111;m</A>
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90090.html</link><pubDate>Mon, 23 Apr 2012 16:53:19 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must documentinstances</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Mon, 2012-04-23 at 12:31 +0200, Jirka Kosek wrote:

&gt; Might be I'm not understanding you correctly Liam, but IMHO namespace
&gt; URI is perfect way to *indirectly* say where the schema is located.
&gt; 
&gt; Good XML application support mapping file where namespace URI can be
&gt; mapped to schema which should be used for validation.

Yes, that aspect is fine. Blindly dereferencing the namespace and
expecting to find a schema there is what I was saying is not fine.

&gt; In theory on namespace URI could reside RDDL document which can point to
&gt; XML schema, but past experience with heavy loaded network resources
&gt; (XHTML DTDs) shows that's not wise to depend on such approach in an
&gt; application.

The XML Plenary failed to get consensus on whether it was acceptable to
define anything at a namespace URI, or even if it was OK to try to
dereference them.

If applications did start, you're right, W3C would have to block the
ones on our servers, as we have to do for the DTDs and XSD files.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70090.html</link><pubDate>Mon, 23 Apr 2012 16:28:47 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Liam,

Me again :-).

&gt; 
&gt; &gt;   If the advertisement
&gt; &gt; in the @xml:type does not match one of the client's 
&gt; capabilities, no 
&gt; &gt; request to that xml:href URI will ever be made, saving the network 
&gt; &gt; bandwidth, and the server the effort of replying to a 
&gt; request it cannot honour.
&gt; 
&gt; But you don't know in advance. The xml:type is just going to 
&gt; be wrong most of the time.

It's advisory.  If it's important, it's not going to be wrong.  
Browsers seem to only care about the @rel=&quot;stylesheet&quot; bit, and don't
parse @type.  So you can leave it out in that case.  But if that 
bit of metadata was used to disambiguate xslt from css requests, for example,
it would be more important to the author to get and keep right.  That's
what it's for: to help drive client state. 

I will admit that there's not much literature available from google on
the use of this attribute.  I will do a bit more digging.


&gt; 
&gt; &gt; &gt; I'm personally interested in typed links, where the types are 
&gt; &gt; &gt; rhetorical in nature - e.g. &quot;supports&quot;, &quot;disagrees&quot;, or express 
&gt; &gt; &gt; other relationships.
&gt; &gt; 
&gt; &gt; This is the relationship of the referenced resource to the current 
&gt; &gt; client state, and is supposed to be stored in @xml:rel, which is 
&gt; &gt; similar to atom:link@rel or html:link@rel.  *I* think you 
&gt; need _both_ 
&gt; &gt; @xml:rel and @xml:type to qualify as a typed link.
&gt; We'll have to agree to differ.

Seems that we agree on 2/3 attributes so far ;-).  I will keep working
on that third one...

&gt; 
&gt; [...]
&gt; &gt; However, without the advertisement found in @xml:type, no 
&gt; such crawler 
&gt; &gt; is practical, because you would have to crawl _everything_ to 
&gt; &gt; determine what is/is not a document you can analyze.
&gt; 
&gt; You have to do that anyway if you want to be complete.
&gt; 
&gt; Suppose you are interested in SVG images. So you don't crawl 
&gt; to an XML DocBook document. But the illustrations in that 
&gt; DocBook document were in SVG. So you lose.
&gt; 
&gt; [...]
&gt; &gt; &gt; The client can *always* send an Accept header saying they 
&gt; prefer PNG 
&gt; &gt; &gt; to SVG. (content negotiation is of course different from &quot;HTTP 
&gt; &gt; &gt; OPTIONS&quot;)
&gt; &gt; 
&gt; &gt; Yes.  But again, the advertisement in the metadata is a hint to the 
&gt; &gt; client of what to enter into negotiation with.
&gt; 
&gt; When you write the document you don't know what formats the 
&gt; client will prefer, unless you write for only one piece of software.
&gt; 
&gt; So the document is the wrong place for it.

OK, one can produce an image index by crawling html pages and
finding linked images; text/html is a rich source of links to image/*.
image/svg is a usually a separate media type from text/html,
but it is encompassed and overshadowed by text/html when it is produced in-line.

If you crawled an xml-based media type, you would likely need the xml:type
hint to help you out, in particular where the @xml:rel was not a differentiator,
see the discussion of &lt;link rel=&quot;stylesheet&quot;.../&gt; above.

&gt; 
&gt; 
&gt; [...]
&gt; 
&gt; &gt; &gt; Is the problem the namespace declaration? There was talk 
&gt; about that 
&gt; &gt; &gt; a year or two ago on xml-dev, about reforming namespaces, but 
&gt; &gt; &gt; there's too much XML 1.0 inertia to make it easy.
&gt; &gt; 
&gt; &gt; Yes, it is one of the problems.  But I don't think it is the 
&gt; &gt; declaration so much as the fact that users have to declare it and 
&gt; &gt; clients have to verify that it matches.  The xml:href, xml:rel and 
&gt; &gt; xml:type _strings_ can be found without understanding namespaces, I 
&gt; &gt; think.  Maybe I'm trying to skirt around the issue of 
&gt; namespaces, but 
&gt; &gt; I think using the implicit xml namespace is appropriate because web 
&gt; &gt; hyperlinking is a top priority use case for xml.
&gt; 
&gt; I think that's very subjective - I'd rather add xml:include 
&gt; and xsi:type myself. But that was why I wrote the 
&gt; &quot;unobtrusive namespace&quot; stuff, so you could have (in effect) 
&gt; a predeclared list of namespces. It didn't fly, though.

OK, I reflected on this a bit, and I just read the &quot;Automatic Namespaces&quot; paper
you gave at Balissage 2009 (sorry!).

First, the problem with having links in some arbitrary namespace is that they can be
syntactically re-assigned ie. xlink: could just as easily read linkinglanguage:,
or an empty string.  So links can't be easily recognized.  Since xml: can not be reassigned,
xml:href always means xml:href, and xml: always has to be present.  So links 
will always be recognised.

Automatic namespaces don't change the fact that the href can be in any
namespace as defined by the profile in the xml:ns reference document.

BTW I think the concept of automatic namespaces is compatible with the concept
of a 'profile' link relation, which is being promoted by Erik Wilde over
on rest-discuss.
http://dret.typepad.com/dretblog/2012/03/resource-profiles.html

While Erik's proposal is for a link relation 'profile' which has an associated URI
which is abstract (ie. not necessarily dereferenceable), your automatic namespaces xml:ns
reference actually associates an xml file describing the profile of an xml file
encoded according to a similar concept.

xml:ns=&quot;http://example.org/myautons.xml&quot;

would map nicely to

&lt;link xml:rel=&quot;profile&quot; xml:href=&quot;http://example.org/myautons&quot; xml:type=&quot;application/xml;type=autonamespace&quot;/&gt;
&lt;link xml:rel=&quot;profile&quot; xml:href=&quot;http://example.org/myautons&quot; xml:type=&quot;application/json;type=autonamespace&quot;/&gt;

I think the notion of a profile, and the notion of automatic namespaces both need to
consider the MIME media type with a bit more priority.  In other words,
the concept of a profile and that of automatic namespaces are
working in the same space as the role of MIME media type.  The MIME media
type needs to be known to an application in order to process files of that
media type.  Just like an application must be built to process UTF-8 characters
instead of US-ASCII,  an application must be written to process text/html
with in-line svg. Whether there are namespace prefixes or not is a programming
detail, and one which I as an xslt programmer have been happy to live with.
HTML/js programmers, not so much!  But the point remains that it is the
media type that is the final descriptor of the expected content, regardless
of the namespaces involved.  And having a link to a profile from within the
target document is too late a la either of the above equivalent examples - 
it needs to be advertised and negotiated prior to pulling in the document, 
otherwise you get wasted bandwidth etc.  See REST.


&gt; 
&gt; 
&gt; &gt; &gt; Hmm, I have not seen atom:link in use outside atom, I'd be 
&gt; &gt; &gt; interested to learn more about that and see examples.
&gt; &gt; 
&gt; &gt; 
&gt; https://developers.google.com/kml/documentation/kmlreference#atomlink
&gt; &gt; http://www.rssboard.org/rss-profile#namespace-elements-atom-link
&gt; 
&gt; The kml one is interesting, are you suggesting Google Earth 
&gt; uses atom in some way?

Not very well, IMHO.  For example, it does not use atom:link@rel=&quot;next&quot;,
which would be a nice feature for paging data RESTfully.

&gt; 
&gt; The rssboard one is just atom and rss, which is where atom started ;)

I guess it came full circle, adding standardized links to RSS.  The point
is there is a great need for that standardization.


&gt; you're in Ottawa I'm only 3½ hours' drive away :-)

Well if you're getting the same snow we're getting today, you have my sympathy!

Cheers,
Peter

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60090.html</link><pubDate>Mon, 23 Apr 2012 13:54:17 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 20.4.2012 8:00, Liam R E Quin wrote:

&gt; The answer is that you have to tell your schema processor how to find he
&gt; schemas, and that schemaLocation attributes are one way, but not the
&gt; only way - the program might have another way to do it - but doing it
&gt; based on namespace URIs would not be a good way.

Might be I'm not understanding you correctly Liam, but IMHO namespace
URI is perfect way to *indirectly* say where the schema is located.

Good XML application support mapping file where namespace URI can be
mapped to schema which should be used for validation. Graham should
inspect his tool whether it provides such facility. In oXygen there is
Document Type Association option for this, Emacs+nxml support
locatingRules, NVDL can be used for this as well.

In theory on namespace URI could reside RDDL document which can point to
XML schema, but past experience with heavy loaded network resources
(XHTML DTDs) shows that's not wise to depend on such approach in an
application.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: j&#x69;rka&#64;k&#x6f;&#x73;&#x65;k.c&#x7a;      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

</pre>
<p><a href="pgp00000.pgp" >OpenPGP digital signature</a></p>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50090.html</link><pubDate>Mon, 23 Apr 2012 12:31:58 GMT</pubDate></item><item><title>Re:  Incompleteness of Duration</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    I don't think a specification in such a messy area can ever be
    "complete". The recent confusion between the UK government and the
    European Court of Human Rights over exactly when a three-month
    "right to appeal" ended illustrates the kind of complexities
    involved. If you try to model the civil calendar, then whatever
    scope you choose, there will be some things needed by some users
    that are outside the scope you have chosen.<br>
    <br>
    It's worth noting that whereas there is some kind of consensus on
    when seconds, minutes, hours, days, months, and years start and end
    (subject to timezone issues), there is no consensus on when a week
    starts or ends. Although the 7-day week has become a pretty-near
    universal cultural phenomenon, things such as numbering of weeks
    within a year or month are still highly variable.<br>
    <br>
    One can argue that the support for calendar and duration values in
    XSD and XQuery/XSLT doesn't go far enough, but one could equally
    well argue that there is already too much in the "core" and it
    should have been put in an application layer, just as spatial
    information (for example) is handled in an application layer.<br>
    <br>
    Michael Kay<br>
    Saxonica<br>
    <br>
    On 21/04/2012 18:54, Toby Considine wrote:
    <blockquote cite="mid:<a href="post20090.html">014c01cd1fe7$dbe29b20$93a7d160$@gmail.com</a>"
      type="cite">
      
      
      <!---->
      <!----><!---->
      <div class="WordSection1">
        <p class="MsoNormal">Probably not where to post tis, but a place
          where several of the right people will get it anyway.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The duration data type is an incomplete
          instantiation of duration as defined in ISO8601. In
          particular, it omits weeks, which are very useful for many
          human-centric &nbsp;communications. As the internet of things
          begins to integrates devices and people, such communications
          are likely to grow more important.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">In ISO8601, the elements of duration
          include second, minute, hour, day, week, month, year.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">XML duration supports second, minute, hour,
          day, month, year<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">RFC5545 (previously 2445) defines duration
          using second, minute, hour, day, week. <o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Where ICalendar and XML overlap, they are
          identical.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">xCal (RFC 6321) is the recently completed
          XML representation for iCalendar information. Because of the
          mismatch above, it uses its own string restrictions to define
          what it calls a duration. The overlapping is makes it worse.
          If XML fully implemented iso8601, then today&#8217;s xCal would be a
          strict sub-set; tomorrows could grow to identity, which would
          improve many uses.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The larger durations are not just multiple
          of the smaller durations. A day!= 24 hours, although it
          usually does. A month is clearly a variable number of days,
          and processing rules can define what a month from February 15
          is&nbsp; as well as a month from May 15. A year is not always 365
          days,<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The week appears to be no more than a
          multiple of 7 days, which is why, I assume, the XML committee
          left it out. When it intersects with the world of people, and
          of business, though, there are a multitude of differences. &#8220;Do
          this at the start of each week&#8221;, at a duration of 1W, might
          indicate a service performance on Tuesday in weeks in which
          there is a holiday on Monday. Many calendar specifications,
          such as recurrence rules and availability communications use
          durations denominated in weeks.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">What is the correct approach, and where is
          the correct forum to start a conversation on fixing this?<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">tc<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <div class="MsoNormal"><span style="color:blue">
            <hr align="left" size="2" width="100%"></span></div>
        <div>
          <p class="MsoNormal"><span style="color:black">"</span>You can
            cut all the flowers but you cannot keep spring from coming."<b><span
                style="font-size:10.0pt"><br>
              </span></b><i><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">-Pablo
                Neruda</span></i><span style="color:black">.<o:p></o:p></span></p>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div class="MsoNormal">
                            <hr align="left" size="2" width="100%"></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <table class="MsoNormalTable" border="0" cellpadding="0">
          <tbody>
            <tr>
              <td style="padding:.75pt .75pt .75pt .75pt" valign="top">
                <p class="MsoNormal">Toby Considine<br>
                  TC9, Inc<o:p></o:p></p>
                <p class="MsoNormal">TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p>
                <p class="MsoNormal">TC Editor: EMIX, EnergyInterop<o:p></o:p></p>
                <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">U.S.
                    National Inst. of Standards and Tech. Smart Grid
                    Architecture Committee</span><br>
                  <br>
                  <o:p></o:p></p>
              </td>
              <td style="padding:.75pt .75pt .75pt .75pt">
                <p class="MsoNormal">&nbsp;&nbsp;<o:p></o:p></p>
              </td>
              <td style="padding:.75pt .75pt .75pt .75pt" valign="top">
                <p class="MsoNormal">Email: <a moz-do-not-send="true"
                    href="mailto:&#x54;o&#x62;y&#46;&#x43;ons&#105;d&#105;ne&#64;f&#97;c&#x2e;un&#99;&#46;e&#100;&#117;"
                    title="mailto:&#84;&#111;&#98;y.&#x43;&#111;n&#115;&#105;d&#x69;n&#x65;&#64;&#102;ac.unc.ed&#117;"><span
                      style="color:windowtext">&#84;oby&#x2e;C&#x6f;nsid&#x69;&#110;&#x65;&#64;g&#x6d;&#x61;il&#x2e;&#x63;&#111;m</span></a><br>
                  Phone: (919)619-2104<o:p></o:p></p>
                <p class="MsoNormal">http://www.tcnine.com/<br>
                  blog: http://www.NewDaedalus.com<o:p></o:p></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
    </blockquote>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30090.html</link><pubDate>Sat, 21 Apr 2012 19:54:14 GMT</pubDate></item><item><title>Re:  Incompleteness of Duration</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Michael Kay scripsit:

&gt; It's worth noting that whereas there is some kind of consensus on
&gt; when seconds, minutes, hours, days, months, and years start and end
&gt; (subject to timezone issues), there is no consensus on when a week
&gt; starts or ends. 

There is, however, an ISO standard: weeks begin on Monday, and the first
week of the year is the week containing the first Thursday in January.
Thus 2005-01-01, a Saturday, is synonymous with 2005-W53-6, the sixth
day of the 53rd and last week of 2004.

Note that XSD time does not include leap seconds, which means that the
XSD 1.1 value space for durations contains &lt;second, month&gt; pairs.
There are a fixed number of seconds in a minute, hour, and day, and a
fixed number of months in a year.

-- 
&quot;Repeat this until 'update-mounts -v' shows no updates.         John Cowan
You may well have to log in to particular machines, hunt down   &#99;ow&#97;&#x6e;&#64;&#99;ci&#x6c;.&#111;&#x72;g
people who still have processes running, and kill them.&quot;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40090.html</link><pubDate>Sat, 21 Apr 2012 16:03:32 GMT</pubDate></item><item><title>Incompleteness of Duration</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal>Probably not where to post tis, but a place where several of the right people will get it anyway.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The duration data type is an incomplete instantiation of duration as defined in ISO8601. In particular, it omits weeks, which are very useful for many human-centric &nbsp;communications. As the internet of things begins to integrates devices and people, such communications are likely to grow more important.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>In ISO8601, the elements of duration include second, minute, hour, day, week, month, year.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>XML duration supports second, minute, hour, day, month, year<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>RFC5545 (previously 2445) defines duration using second, minute, hour, day, week. <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Where ICalendar and XML overlap, they are identical.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>xCal (RFC 6321) is the recently completed XML representation for iCalendar information. Because of the mismatch above, it uses its own string restrictions to define what it calls a duration. The overlapping is makes it worse. If XML fully implemented iso8601, then today&#8217;s xCal would be a strict sub-set; tomorrows could grow to identity, which would improve many uses.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The larger durations are not just multiple of the smaller durations. A day!= 24 hours, although it usually does. A month is clearly a variable number of days, and processing rules can define what a month from February 15 is&nbsp; as well as a month from May 15. A year is not always 365 days,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The week appears to be no more than a multiple of 7 days, which is why, I assume, the XML committee left it out. When it intersects with the world of people, and of business, though, there are a multitude of differences. &#8220;Do this at the start of each week&#8221;, at a duration of 1W, might indicate a service performance on Tuesday in weeks in which there is a holiday on Monday. Many calendar specifications, such as recurrence rules and availability communications use durations denominated in weeks.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>What is the correct approach, and where is the correct forum to start a conversation on fixing this?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>tc<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div><div><p class=MsoNormal><span style='color:black'>&quot;</span>You can cut all the flowers but you cannot keep spring from coming.&quot;<b><span style='font-size:10.0pt'><br></span></b><i><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>-Pablo Neruda</span></i><span style='color:black'>.<o:p></o:p></span></p><div><div><div><div><div><div><div><div><div class=MsoNormal><hr size=2 width="100%" align=left></div></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Toby Considine<br>TC9, Inc<o:p></o:p></p><p class=MsoNormal>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p><p class=MsoNormal>TC Editor: EMIX, EnergyInterop<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><br><br><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>&nbsp;&nbsp;<o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Email: <a href="mailto:&#84;ob&#x79;.&#67;ons&#105;&#100;&#x69;ne&#64;f&#x61;&#x63;&#46;&#117;&#110;c.e&#x64;&#x75;" title="mailto:&#84;ob&#x79;.&#67;ons&#105;&#100;&#x69;ne&#64;f&#x61;&#x63;&#46;&#117;&#110;c.e&#x64;&#x75;"><span style='color:windowtext'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></p><p class=MsoNormal>http://www.tcnine.com/<br>blog: www.NewDaedalus.com<o:p></o:p></p></td></tr></table><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20090.html</link><pubDate>Sat, 21 Apr 2012 13:54:53 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Fri, 2012-04-20 at 13:06 +0000, Rushforth, Peter wrote:
[...]
&gt; My understanding of content negotiation is that the client sends an Accept
&gt; header with a list of weighted preferences.

Yes.

&gt;   If the advertisement
&gt; in the @xml:type does not match one of the client's capabilities,
&gt; no request to that xml:href URI will ever be made, saving the network bandwidth,
&gt; and the server the effort of replying to a request it cannot honour.

But you don't know in advance. The xml:type is just going to be wrong
most of the time.

&gt; &gt; I'm personally interested in typed links, where the types are 
&gt; &gt; rhetorical in nature - e.g. &quot;supports&quot;, &quot;disagrees&quot;, or 
&gt; &gt; express other relationships.
&gt; 
&gt; This is the relationship of the referenced resource to the current client state,
&gt; and is supposed to be stored in @xml:rel, which is similar to atom:link@rel
&gt; or html:link@rel.  *I* think you need _both_ @xml:rel and @xml:type to qualify
&gt; as a typed link.
We'll have to agree to differ.

[...]
&gt; However, without the advertisement found in @xml:type, no such crawler is practical,
&gt; because you would have to crawl _everything_ to determine what is/is not
&gt; a document you can analyze.

You have to do that anyway if you want to be complete.

Suppose you are interested in SVG images. So you don't crawl to an XML
DocBook document. But the illustrations in that DocBook document were in
SVG. So you lose.

[...]
&gt; &gt; The client can *always* send an Accept header saying they 
&gt; &gt; prefer PNG to SVG. (content negotiation is of course 
&gt; &gt; different from &quot;HTTP OPTIONS&quot;)
&gt; 
&gt; Yes.  But again, the advertisement in the metadata is a hint to the
&gt; client of what to enter into negotiation with.

When you write the document you don't know what formats the client will
prefer, unless you write for only one piece of software.

So the document is the wrong place for it.


[...]

&gt; &gt; Is the problem the namespace declaration? There was talk 
&gt; &gt; about that a year or two ago on xml-dev, about reforming 
&gt; &gt; namespaces, but there's too much XML 1.0 inertia to make it easy.
&gt; 
&gt; Yes, it is one of the problems.  But I don't think it is the
&gt; declaration so much as the fact that users have to declare it and
&gt; clients have to verify that it matches.  The xml:href, xml:rel and
&gt; xml:type _strings_ can be found without understanding namespaces,
&gt; I think.  Maybe I'm trying to skirt around the issue of namespaces,
&gt; but I think using the implicit xml namespace is appropriate because
&gt; web hyperlinking is a top priority use case for xml.

I think that's very subjective - I'd rather add xml:include and xsi:type
myself. But that was why I wrote the &quot;unobtrusive namespace&quot; stuff, so
you could have (in effect) a predeclared list of namespces. It didn't
fly, though.


&gt; &gt; Hmm, I have not seen atom:link in use outside atom, I'd be 
&gt; &gt; interested to learn more about that and see examples.
&gt; 
&gt; https://developers.google.com/kml/documentation/kmlreference#atomlink
&gt; http://www.rssboard.org/rss-profile#namespace-elements-atom-link

The kml one is interesting, are you suggesting Google Earth uses atom in
some way?

The rssboard one is just atom and rss, which is where atom started ;)


&gt; &gt; Sorry for a long reply.
&gt; NP.  Just want to make sure you realize I am not a crank caller.

No, it's OK, and I am interested and listening. Heck, if you're in
Ottawa I'm only 3½ hours' drive away :-)

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10090.html</link><pubDate>Sat, 21 Apr 2012 03:39:59 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Thanks again for the coherent responses, Liam. Especially at 4 am. I hope 
you got a few hours of sleep before reading this!

&gt; No. In this case they should look at the confluence.xsd part. For
&gt; example, if your XML document was hosted at
&gt; http://www.example.org/docs/argyle.xml, then the XML Catalog would be
&gt; consulted for http://www.example.org/docs/confluence.xsd.
&gt; See http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#schema-loc

Ah, &quot;4.3.2 How schema definitions are located on the Web&quot; (&quot;non-Web 
mechanisms for delivering schemas for ·assessment· exist, but are outside 
the scope of this specification&quot;).

Sorry, I fear I should have been clearer, earlier: I am using desktop XML 
editors (such as jEdit and XMLSpy) to work with files that are located 
either on my PC's local (C:) drive or on LAN drives (or that I create from 
scratch in the editor). None of the files involved are located on the Web.

From the &quot;XML Schema Part 0: Primer Second Edition&quot; (
www.w3.org/TR/xmlschema-0/#SchemaInMultDocs):

&gt; As schemas become larger, it is often desirable to divide their content 
among several schema documents [...] Instance documents that conform to 
schema whose definitions span multiple schema documents need only 
reference the 'topmost' document

Also, the Primer refers to &quot;the location of schema documents&quot;: that is, it 
refers to schema documents as being persistent objects - with locations - 
as opposed to, say, in-memory objects that might be programmatically 
generated from one or more such persistent objects.

I'm comfortable with the concept that the content of a schema can be 
divided among several schema documents; this describes the Confluence XML 
schema that I've developed.

From your email:

&gt; Second, a Schema Document can be comprised of multiple xsd files.
&gt; Neither I nor the XSD spec uses Schema Document to mean a single xsd 
file.

In the light of your email, I think my problem might be that I've been 
misreading the various W3C documents, and that I've been incorrectly 
thinking: one schema document = one .xsd file = one &lt;schema&gt; element. I 
think you're saying the term &quot;schema document&quot; actually means (please feel 
free to correct me): an .xsd file, *and* any other .xsd files to which it 
refers (via, for example, &lt;import&gt; and &lt;include&gt;). Or are you saying that 
a &quot;schema document&quot; is not just those .xsd files, but a single object that 
is generated (in memory, by an XML processor) from all of those files? (In 
which case, how can the primer refer to the persistent &quot;location&quot; of a 
schema document?)

Finally (cringe, sorry), I'm still not clear on the following issue: in a 
single .xsd file (that does not refer to any other .xsd files, via 
&lt;include&gt;, &lt;import&gt;, or any other means), can I define some elements that 
are associated with one namespace, and other elements that are associated 
with another namespace? I think the answer is &quot;no&quot;.

Graham Hannington
Perth, Western Australia

Fundi Software Pty Ltd  2012  ABN 89 009 120 290


This message has been scanned for malware by Websense. www.websense.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00090.html</link><pubDate>Fri, 20 Apr 2012 21:43:20 GMT</pubDate></item><item><title>Request for review: DTD/XSDs for the Confluence Atlassian 4 storage form</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
From my earlier email:

&gt; [I am] hoping to learn more. And I am prepared to publicly expose my 
ignorance to do so

On that note...

I am a user of Atlassian Confluence, a commercial wiki product. I have no 
other affiliation with Atlassian, (Okay, I'm Australian, too.)

Previous (3.x) versions of Confluence stored content in a wiki markup 
format. The current version of Confluence (4) stores content in a 
proprietary XML vocabulary that consists of:

- Elements and attributes that have the same names as a subset of elements 
and attributes in XHTML 1.0 (mostly from XHTML 1.0 Strict, with a few 
additional elements from XHTML 1.0 Transitional). Elements in the 
Confluence XML vocabulary that have the same name as elements in XHTML 1.0 
have a much more limited set of attributes than the XHTML 1.0 elements of 
the same name.

- Proprietary elements and attributes

Some Confluence users have asked Atlassian to provide a schema (DTD, XSD, 
or both) for this XML vocabulary. However, Atlassian has indicated that 
providing a DTD/XSD is not high on its list of current priorities.

So, I have attempted to create the DTD/XSDs myself, based on a combination 
of:

- The XHTML 1.0 Strict DTD (and a few snippets of Transitional)
- The documentation that Atlassian has provided (which falls far short of 
the detail required to develop a DTD/XSD)

- Experimentation with the Confluence rich text editor (to exercise the 
full range of markup that the editor can generate)

- &quot;Forensic analysis&quot; of the XML source of Atlassian's own Confluence 
documentation (Atlassian publishes &quot;exports&quot; of their public 
documentation, containing the XML source of over 4000 pages; so, a 
reasonable-size test bucket) - xmllint was very useful here for automating 
validation, and iteratively refining the constraints of the XSD/DTDs

I hope I'm not breaking any mailing list guidelines here (I don't think 
so; I've just re-read them)...

I welcome feedback (constructive criticism) of these DTD/XSDs.

I'm not offering any money, so feel free to have fun at my expense by 
flaming these files, and my questionable XML skills, to a cinder. Perhaps 
a phoenix will rise from the ashes ;-).

You can download the package (a 30 KB .zip file) from:

http://www.amnet.net.au/~ghannington/confluence/confluence-schema.zip

For details, see the readme.html in the .zip.

I am aware that the tips in the readme on &quot;Using a catalog, rather than 
explicitly referring to the DTD/XSD in each document instance&quot; are, at 
best, incomplete... I'll fix this in the next couple of days, with thanks 
to Liam for his recent advice (on this mailing list).

I hope that the above address will be a temporary home for this package; I 
hope that Atlassian will soon either render the package obsolete by 
providing their own - although I think that's unlikely, given its stated 
priorities - or take ownership of this package.

Graham Hannington
Perth, Western Australia

Fundi Software Pty Ltd  2011  ABN 89 009 120 290


This message has been scanned for malware by Websense. www.websense.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80080.html</link><pubDate>Fri, 20 Apr 2012 16:30:00 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
I want to make it clear that, in the following schemaLocation attribute 
from my earlier emails:

xsi:schemaLocation=&quot;http://www.atlassian.com/schema/confluence/4/ac/ 
confluence.xsd&quot;

there's (supposed to be; is, in my original) a space between the namespace 
URI:

http://www.atlassian.com/schema/confluence/4/ac/

and the XSD URI:

confluence.xsd

(With apologies, I think perhaps I need to look into ensuring that my 
Lotus Notes mail client sends plain text only!)

Graham Hannington
Perth, Western Australia

Fundi Software Pty Ltd  2011  ABN 89 009 120 290


This message has been scanned for malware by Websense. www.websense.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50080.html</link><pubDate>Fri, 20 Apr 2012 15:45:56 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<font size=2 face="sans-serif">Liam,</font><br><br><font size=2 face="sans-serif">Thank you very much for your quick and
informative response, it's much appreciated.</font><br><br><font size=2 face="sans-serif">Regarding your statement:</font><br><br><font size=2 face="sans-serif">&gt; doing it based on namespace URIs
would not be a good way</font><br><br><font size=2 face="sans-serif">I hope you don't think I'm splitting
hairs; I sincerely want to understand this...</font><br><br><font size=2 face="sans-serif">Here's how I think it works. When an
XML document instance contains the following schemaLocation attribute:</font><br><br><font size=2 face="sans-serif">xsi:schemaLocation=&quot;</font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">confluence.xsd&quot;</font><br><br><font size=2 face="sans-serif">my understanding is that catalog-aware
XML applications (such as XMLSpy) look at the first part of that attribute
value*, match it with the value of the name attribute of the following
uri element in the catalog:</font><br><br><font size=2 face="sans-serif">&lt;uri name=&quot;</font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">&quot;
uri=&quot;confluence.xsd&quot;/&gt;</font><br><br><font size=2 face="sans-serif">and then load the XSD referred to by
the uri attribute (uri=&quot;confluence.xsd&quot;).</font><br><br><font size=2 face="sans-serif">* From the &quot;XML Schema Part 0:
Primer Second Edition&quot; (</font>http://www.w3.org/TR/xmlschema-0/#schemaLocation<font size=2 face="sans-serif">)</font><br><br><font size=2 face="sans-serif">&gt; The schemaLocation attribute value
consists of one or more pairs of URI references, separated by white space.
The first member of each pair is a namespace name</font><br><br><font size=2 face="sans-serif">That is, although an XML application
isn't doing it based on the value of xmlns: attributes (as you say: &quot;Neither
should it.&quot;), it seems to me that it *is* doing it based on namespace
URIs (specifically, the first member of each pair of URI references in
a schemaLocation attribute value).</font><br><br><font size=2 face="sans-serif">Am I just splitting hairs, or am I (as
I suspect) missing a deeper point here?</font><br><br><font size=2 face="sans-serif">Also this:</font><br><br><font size=2 face="sans-serif">&gt; There is no direct mapping between
namespace URIs and Schema documents</font><br><br><font size=2 face="sans-serif">Now - with apologies, I do not mean
to try your patience or waste your time; I do read and re-read the related
W3C documents, and some of it has sunk in - I really think I am missing
a deeper point here, because, as described above, I think a direct mapping
between a namespace URI and a schema document is exactly the process that
I've just described above, and is exactly what that uri element in a catalog
does:</font><br><br><font size=2 face="sans-serif">&lt;uri name=&quot;</font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">&quot;
uri=&quot;confluence.xsd&quot;/&gt;</font><br><br><font size=2 face="sans-serif">If this uri element does not directly
map a namespace URI to a schema document, what does it do?</font><br><br><font size=2 face="sans-serif">Finally:</font><br><br><font size=2 face="sans-serif">&gt; the relationship is that Schema
documents may define elements associated with one or more namespace URIs.</font><br><br><font size=2 face="sans-serif">I'm not saying that you're asserting
otherwise, but I want to confirm that my current understanding in this
area is correct. I think that one schema document (XSD; a single .xsd file)
can define elements associated with only one namespace URI (its target
namespace). An XSD (again, I mean, specifically, a single .xsd file) can
use &lt;import&gt; elements to import element definitions associated with
other namespace URIs, but that is not quite the same as one XSD defining
elements associated with multiple namespace URIs. An XML vocabulary that
involves more than one namespace cannot be defined in a single .xsd file.
Am I correct? If not, could you please point me to, or provide, an example
of a single XSD that defines elements associated with more than one namepace
URI? (The XSD mentioned in my examples, confluence.xsd - which I wrote
- uses import elements to refer to two other XSDs.)</font><br><br><font size=2 face="sans-serif">I hope you don't think that I'm challenging
you. That's not my intention. I am sincerely grateful for your initial
reply. Having gained your attention (and noting your signature line), I
am, without wanting to take up too much of your time, hoping to learn more.
And I am prepared to publicly expose my ignorance to do so :-).</font><br><br><font size=2 face="sans-serif">Graham Hannington</font><br><font size=2 face="sans-serif">Perth, Western Australia</font><BR>
Fundi Software Pty Ltd  2011  ABN 89 009 120 290<BR>
=<br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by Websense.  </FONT>http://www.websense.com/</P>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40080.html</link><pubDate>Fri, 20 Apr 2012 15:33:25 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Liam,

&gt; 
&gt; On Thu, 2012-04-19 at 14:37 +0000, Rushforth, Peter wrote:
&gt; &gt; The point is, the media type advertisement that is present in 
&gt; &gt; @xml:type _tells_ the crawler, or any other client, if they will be 
&gt; &gt; able to understand what is at the other end of the @xml:href.
&gt; 
&gt; You can never assume that the result of fetching a resource 
&gt; will be a particular representation format. You might 
&gt; actually get anything back at all. For sure you might get 
&gt; HTML 2 or HTML 4 as part of an HTTP 404 or 401 response, but 
&gt; content negotiation means you might get image/jpeg instead.
&gt; 
&gt; Instead, it tells the client that the document author 
&gt; _expected_ a particular type.
&gt; 
&gt; If we can agree that far maybe we can make progress on 
&gt; understanding each other ;-)


@xml:type is embedded metadata, similar in concept the atom:link@type,
http://tools.ietf.org/html/rfc4287#section-4.2.7.3 and
html:link@type, and is less authoritative than message metadata in http,
as described here: http://www.w3.org/2001/tag/doc/mime-respect#media-type


My understanding of content negotiation is that the client sends an Accept
header with a list of weighted preferences.  If the advertisement
in the @xml:type does not match one of the client's capabilities,
no request to that xml:href URI will ever be made, saving the network bandwidth,
and the server the effort of replying to a request it cannot honour.

&gt; 
&gt; I'm personally interested in typed links, where the types are 
&gt; rhetorical in nature - e.g. &quot;supports&quot;, &quot;disagrees&quot;, or 
&gt; express other relationships.

This is the relationship of the referenced resource to the current client state,
and is supposed to be stored in @xml:rel, which is similar to atom:link@rel
or html:link@rel.  *I* think you need _both_ @xml:rel and @xml:type to qualify
as a typed link.  

One of the interesting things about @xml:rel and @xml:type is that it constitutes
(part of) &quot;media type design&quot;, along the lines of what Fielding talked about in
his famous rant:

&quot;A REST API should spend almost all of its descriptive effort in defining the media type(s) used for representing resources and driving application state, or in defining extended relation names and/or hypertext-enabled mark-up for existing standard media types.&quot;
http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven

The domain of design between @xml:rel and @xml:type is a very powerful one.
The art of XML document design is well understood by this crowd,
(ie. the other part of media type design).

I think there are some very important details here that could be improved
by @xml:rel, @xml:type and @xml:href, especially because the addition of
those attributes enable &quot;hypertext-enabled mark-up for existing standard
media types&quot;

In reference to Michael Kay's mention of normalization, I see
the factoring of meaning between the @xml:rel and @xml:type as a kind of 
&quot;web normalization&quot;.  Put the stable meaning of resources in their (dynamic) context 
(say, an xml shoe :-)
into one or more tokens in the @xml:rel (eg. &quot;other&quot;), and the 
media type hierarchy into the @xml:type (eg. &quot;application/xml;type=shoe)
Presto, semantic links.

&gt; 
&gt; &gt;   One could write an ISO 19115:2003 crawler, for example, 
&gt; and so long 
&gt; &gt; as the links were annotated with @xml:type, the crawler 
&gt; could target 
&gt; &gt; that media type only, processing the elements in the way it 
&gt; &gt; understands them, doing whatever it needs to do to meet its goals 
&gt; &gt; (this might not be &quot;search&quot;, in the google sense, for example).
&gt; 
&gt; Someone else would write a crawler that checked out all the 
&gt; links and fond the 90% that you'd missed, e.g. when you go to 
&gt; www.findmylover.com and you get an HTML page that asks for a 
&gt; country, and then www.findmylover.com/?country=rohan returns 
&gt; your geographical markup language.
&gt; 
&gt; It's dynamic, not static.

Again, the issue about authoritative metadata.

However, without the advertisement found in @xml:type, no such crawler is practical,
because you would have to crawl _everything_ to determine what is/is not
a document you can analyze.  Or else you are assuming that everything is
one or two media types, all of which you can process.  Clearly, that is
not the case with xml, beyond simple xml parsing.


&gt; 
&gt; 
&gt; 
&gt; &gt; &gt; Media type tells you what something is, not how to 
&gt; process it. There 
&gt; &gt; &gt; are lots of things you can do with an SVG image, for example, 
&gt; &gt; &gt; besides simply rendering it.
&gt; &gt; 
&gt; &gt; Media type (@xml:type) tells you what the media type of the 
&gt; advertised 
&gt; &gt; linked representation might be (not: _is_), so you know if 
&gt; you should be able to process it.
&gt; 
&gt; When I wrote Media type I was referring to the label in the 
&gt; returned HTTP header, which is authoritative.

Agreed.  But it is not the only place nor role for the media type metadata,
as described by the TAG reference above.

&gt; 
&gt; &gt; An SVG image might be chosen over a png version so the client could 
&gt; &gt; edit the vectors, for example.  The media type advertisement allows 
&gt; &gt; clients to know if they can send an Accept header with a value 
&gt; &gt; supporting that use.
&gt; 
&gt; The client can *always* send an Accept header saying they 
&gt; prefer PNG to SVG. (content negotiation is of course 
&gt; different from &quot;HTTP OPTIONS&quot;)

Yes.  But again, the advertisement in the metadata is a hint to the
client of what to enter into negotiation with.

&gt; 
&gt; 
&gt; [...]
&gt; 
&gt; &gt; For sure, that is what the Accept header is for.  But the 
&gt; html author 
&gt; &gt; uses the link to his own ends, and it sure isn't 
&gt; constrained to html.
&gt; &gt; For xml, where everyone mints his own media type effectively, 
&gt; &gt; @xml:type is essential.
&gt; 
&gt; Maybe this is where I'm not following your argument.
&gt; 
&gt; Are you suggesting people would register individual 
&gt; schemas/vocabularies with IANA themselves, or would use types like
&gt;   application/x-mallard+xml ?

No, I think application/xml is top-level.  There does need to be
some way to continue to specify the document semantics, probably through
media type parameters (that seems to be the extensibility mechanism
that is provided).  If your media type gets important enough that
recognition as application/xml is not important, go ahead and register
application/x-mallard+xml.  IOW application/xml;type=mallard is
probably more appropriate for a domain specific vocabulary.  Clients
who understand type=mallard will quack like a duck, but browsers
and other xml-aware but mallard-unaware applications will just
display xml syntax coloring, or whatever their default behaviour might
be (because they'll ignore ;type=mallard, and request application/xml, 
if they follow the spec).


&gt; 
&gt; &gt; Exactly.  Adding no-namespace-declaration hyperlinks is a 
&gt; big win, IMHO.
&gt; 
&gt; Is the problem the namespace declaration? There was talk 
&gt; about that a year or two ago on xml-dev, about reforming 
&gt; namespaces, but there's too much XML 1.0 inertia to make it easy.

Yes, it is one of the problems.  But I don't think it is the
declaration so much as the fact that users have to declare it and
clients have to verify that it matches.  The xml:href, xml:rel and
xml:type _strings_ can be found without understanding namespaces,
I think.  Maybe I'm trying to skirt around the issue of namespaces,
but I think using the implicit xml namespace is appropriate because
web hyperlinking is a top priority use case for xml.  

&gt; 
&gt; &gt; xml:type isn't putting the media type into the link.  It's 
&gt; advertising 
&gt; &gt; a representation format available from the URI. Very much link 
&gt; &gt; atom:link@type.  Why has atom:link grown beyond atom?  
&gt; Because there 
&gt; &gt; is no equivalent thing in xml.
&gt; 
&gt; Hmm, I have not seen atom:link in use outside atom, I'd be 
&gt; interested to learn more about that and see examples.

https://developers.google.com/kml/documentation/kmlreference#atomlink
http://www.rssboard.org/rss-profile#namespace-elements-atom-link


&gt; 
&gt; Note that we (W3C) did reduce the barrier of XLink a little, 
&gt; you only need one attribute now. And declaring an XLink 
&gt; namespace seems no worse than declaring an atom one to me.

I agree that it is no worse, except for the complexity, not to mention
controversy (apparently, did not know of that before starting this
discussion) around xlink.  Again, having a specific domain standard
add linking to xml is not the right way to go - it needs to be
baked in.  And the namespace is also a slight barrier, per above comments.

&gt; 
&gt; [...]
&gt; 
&gt; &gt; The biggest barrier to use of xml on the web is following 
&gt; web service 
&gt; &gt; paradigms which don't use the web architecture to advantage.
&gt; &gt; And, not having hypertext there when you need it.
&gt; 
&gt; I wonder if we got 20 people in a room together we could get 
&gt; agreement on &quot;the biggest barrier&quot;... :-)
Maybe not.  Not to worry.

&gt; 
&gt; Web services are rapidly moving to JSON.
Stop the bleeding!  Use REST+XML!

&gt; 
&gt; Sorry for a long reply.
NP.  Just want to make sure you realize I am not a crank caller.


Cheers,
Peter </pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90080.html</link><pubDate>Fri, 20 Apr 2012 13:06:35 GMT</pubDate></item><item><title>If I want to use catalogs for XSDs, must document instances contain asch</title><description><![CDATA[<!--X-Body-of-Message-->
<font size=2 face="sans-serif">If I want a catalog-aware XML application
(such as jEdit with XML plugin, or Altova XMLSpy 2012) to use a catalog
to locate XSDs to validate XML document instances, must the XML document
instances contain schemaLocation attributes?</font><br><br><font size=2 face="sans-serif">I want the answer to be &quot;no&quot;,
I think the answer is &quot;yes&quot;, but I'm not certain.</font><br><br><font size=2 face="sans-serif">I had hoped that perhaps these applications
might look at the xmlns: attribute values (namespace URIs) in a document
instance, and use the catalog to map these namespace URIs to the location
of the corresponding XSD files, but that does not work for me in practice.</font><br><br><font size=2 face="sans-serif">So, either:</font><br><font size=2 face="sans-serif">- The answer is &quot;yes&quot; (the
document instances must contain schemaLocation attributes)</font><br><font size=2 face="sans-serif">- The answer is &quot;no&quot;, and
I'm doing something wrong in my catalog</font><br><br><font size=2 face="sans-serif">Here's the start tag of the root element
of an example document instance:</font><br><br><font size=2 face="sans-serif">&lt;ac:confluence</font><br><font size=2 face="sans-serif">&nbsp; xmlns:ac=&quot;</font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">&quot;</font><br><font size=2 face="sans-serif">&nbsp; xmlns:ri=&quot;</font>http://www.atlassian.com/schema/confluence/4/ri/<font size=2 face="sans-serif">&quot;</font><br><font size=2 face="sans-serif">&nbsp; xmlns=&quot;</font>http://www.atlassian.com/schema/confluence/4/<font size=2 face="sans-serif">&quot;&gt;</font><br><br><font size=2 face="sans-serif">and here's the catalog, which is stored
in &nbsp;(note the &lt;public&gt; element referring to a DTD; I'll refer
to that soon):</font><br><br><font size=2 face="sans-serif">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</font><br><font size=2 face="sans-serif">&lt;catalog xmlns=&quot;urn:oasis:names:tc:entity:xmlns:xml:catalog&quot;
prefer=&quot;public&quot;&gt;</font><br><font size=2 face="sans-serif">&lt;public publicId=&quot;-//Atlassian//Confluence
4 Page//EN&quot; uri=&quot;confluence.dtd&quot;/&gt;</font><br><font size=2 face="sans-serif">&lt;uri name=&quot;</font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">&quot;
uri=&quot;confluence.xsd&quot;/&gt;</font><br><font size=2 face="sans-serif">&lt;uri name=&quot;</font>http://www.atlassian.com/schema/confluence/4/ri/<font size=2 face="sans-serif">&quot;
uri=&quot;confluence-ri.xsd&quot;/&gt;</font><br><font size=2 face="sans-serif">&lt;uri name=&quot;</font>http://www.atlassian.com/schema/confluence/4/<font size=2 face="sans-serif">&quot;
uri=&quot;confluence-xhtml.xsd&quot;/&gt;</font><br><font size=2 face="sans-serif">&lt;uri name=&quot;</font>http://www.w3.org/XML/1998/namespace<font size=2 face="sans-serif">&quot;
uri=&quot;xml.xsd&quot;/&gt;</font><br><font size=2 face="sans-serif">&lt;/catalog&gt;</font><br><br><font size=2 face="sans-serif">The document instance and the catalog
are stored in completely different paths, on different drives. The .dtd
and .xsd files referred to by the catalog are all in the same directory
as the catalog.</font><br><br><font size=2 face="sans-serif">If I edit this example document instance,
the editor is unable to validate it (for example, XMLSpy reports &quot;Unable
to locate a reference to a supported schema type (DTD, W3C Schema) within
this document instance.&quot;).</font><br><br><font size=2 face="sans-serif">However, if I add the following DOCTYPE:</font><br><br><font size=2 face="sans-serif">&lt;!DOCTYPE ac:confluence PUBLIC &quot;-//Atlassian//Confluence
4 Page//EN&quot; &quot;</font>http://www.atlassian.com/schema/confluence/4/confluence.dtd<font size=2 face="sans-serif">&quot;&gt;</font><br><br><font size=2 face="sans-serif">(Note: there is no such DTD at that
URI. Neither does the DTD exist in the same directory as the document instance.)</font><br><br><font size=2 face="sans-serif">then the editor finds the DTD and can
validate the document instance. I mention this to indicate that the editor
is successfully using the catalog, at least to locate the DTD (that is,
to map the formal public identifier in the DOCTYPE to the local copy of
the DTD, in the same directory as the catalog).</font><br><br><font size=2 face="sans-serif">If I remove the DOCTYPE, and instead
insert the following attributes in the root element:</font><br><br><font size=2 face="sans-serif">xmlns:xsi=&quot;</font>http://www.w3.org/2001/XMLSchema-instance<font size=2 face="sans-serif">&quot;</font><br><font size=2 face="sans-serif">xsi:schemaLocation=&quot;</font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">confluence.xsd&quot;</font><br><br><font size=2 face="sans-serif">then the editor finds the XSD and can
validate the document instance (as long as the document instance does not
contain character entity references; if it does, the DOCTYPE is also required).
That is, the editor looks at the namespace name in the schemaLocation attribute
value (URI: </font>http://www.atlassian.com/schema/confluence/4/ac/<font size=2 face="sans-serif">),
and uses the catalog to map that URI to the XSD that is in the same directory
as the catalog.</font><br><br><font size=2 face="sans-serif">(Note: there is no confluence.xsd in
the same directory as the document instance - and, as already mentioned,
the catalog is in a completely different path; on a different drive - so
the editor must be using the catalog to find the XSD.)</font><br><br><font size=2 face="sans-serif">In practice, then, it seems as if the
schemaLocation attribute is required if I want to use a catalog to locate
the XSD.</font><br><br><font size=2 face="sans-serif">But I thought it was worth asking the
question, because I would really like to be shown otherwise.</font><br><br><font size=2 face="sans-serif">Graham Hannington</font><br><font size=2 face="sans-serif">Perth, Western Australia</font><br><br><font size=2 face="sans-serif">P.S. A digression, not a question -
and not involving catalogs - spinning off from my main question...</font><br><br><font size=2 face="sans-serif">In case it occurs to anyone to mention
it: I know that some applications enable you to explicitly associate a
schema with (or &quot;assign a schema to&quot;) a document instance, without
requiring a schemaLocation attribute. For example, both jEdit and XMLSpy
can do this.<br></font><br><font size=2 face="sans-serif">I am using XSDs with xmllint to automate
the validation of document instances that do not contain schemaLocation
attributes. For example (from a Windows .bat file):</font><br><br><font size=2 face="sans-serif">for %%f in (&quot;*.xml&quot;) do &quot;%_xmllint%&quot;
--noent --nowarning --noout --loaddtd --schema &quot;%_schema%&quot; &quot;%%f&quot;
&gt;&gt; c:\temp\log.txt 2&gt;&amp;1</font><br><br><font size=2 face="sans-serif">where the environment variable _xmllint
contains the path of the xmllint executable, and _schema contains the path
of the XSD.</font><br><br><font size=2 face="sans-serif">In this case, the XML document instances
contain the following DOCTYPE:</font><br><br><font size=2 face="sans-serif">&lt;!DOCTYPE ac:confluence SYSTEM &quot;confluence.dtd&quot;&gt;</font><br><br><font size=2 face="sans-serif">and the --loaddtd option instructs xmllint
to load the DTD (which, in this case, is in the same directory as the document
instance), because the XML document instances can contain character entity
references. (xmllint needs to use the DTD to resolve - parse - the character
entity references before it can use the XSD to validate).</font><BR>
Fundi Software Pty Ltd  2011  ABN 89 009 120 290<BR>
=<br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by Websense.  </FONT>http://www.websense.com/</P>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10080.html</link><pubDate>Fri, 20 Apr 2012 12:29:30 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must document instance</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    <br>
    <br>
    <blockquote
cite="mid:<a href="post40080.html">OFBADDBEF8.B9640943-ON482579E6.0021A7E0-482579E6.0029832D@LocalDomain</a>"
      type="cite"><br>
      <font face="sans-serif" size="2">That is, although an XML
        application
        isn't doing it based on the value of xmlns: attributes (as you
        say: "Neither
        should it."), it seems to me that it *is* doing it based on
        namespace
        URIs (specifically, the first member of each pair of URI
        references in
        a schemaLocation attribute value).</font><br>
      <br>
      <font face="sans-serif" size="2">Am I just splitting hairs, or am
        I (as
        I suspect) missing a deeper point here?</font><br>
      <br>
      <font face="sans-serif" size="2"></font><font size="2"><font
          face="sans-serif"></font></font><br>
    </blockquote>
    There can be more than one schema for the same namespace. For
    example, there are various schemas for the XHTML namespace
    describing different levels of "strictness" in what they accept.<br>
    <br>
    I've always thought xsi:schemaLocation (and for that matter DOCTYPE)
    to be rather absurd: if I don't trust a document to be valid, why
    should I trust it to point me to a schema that I can use for
    validation? Nevertheless, there are cases where it can be very
    valuable. In general, however, I think anyone who wants to test a
    document for validity ought to be responsible for deciding what they
    want it to be valid against.<br>
    <br>
    Have you looked at NVDL?<br>
    <br>
http://en.wikipedia.org/wiki/Namespace-based_Validation_Dispatching_Language<br>
    <br>
    Michael Kay<br>
    Saxonica<br>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60080.html</link><pubDate>Fri, 20 Apr 2012 09:01:21 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must documentinstances</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Fri, 2012-04-20 at 15:33 +0800, Graham Hannington wrote:
&gt; [...]

&gt; When an XML document instance contains the 
&gt; following schemaLocation attribute:
&gt; 
&gt; xsi:schemaLocation=&quot;http://www.atlassian.com/schema/confluence/4/ac/ 
&gt; confluence.xsd&quot;
&gt; 
&gt; my understanding is that catalog-aware XML applications (such as XMLSpy) 
&gt; look at the first part of that attribute value

No. In this case they should look at the confluence.xsd part. For
example, if your XML document was hosted at
http://www.example.org/docs/argyle.xml, then the XML Catalog would be
consulted for http://www.example.org/docs/confluence.xsd.

See http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#schema-loc :

The semantics of schemaLocation are that the first item is the namespace
name and the second is the location of a schema document providing
definitions for names in that namespace. But this does not mean such a
schema document is the _only_ schema, or an _authoratative_ schema
desrcibing names in that namespace. There is no such thing as a schema
defining a namespace, because XML doesn't have that concept -- a
namespace is just a URI that you can associate with names in XML
documents if you like.


[...]

&gt; Also this:
&gt; 
&gt; &gt; There is no direct mapping between namespace URIs and Schema documents

&gt; I think a direct mapping between a namespace URI and a 
&gt; schema document is exactly the process that I've just described above, and 
&gt; is exactly what that uri element in a catalog does:
&gt; 
&gt; &lt;uri name=&quot;http://www.atlassian.com/schema/confluence/4/ac/&quot; 
&gt; uri=&quot;confluence.xsd&quot;/&gt;
&gt; 
&gt; If this uri element does not directly map a namespace URI to a schema 
&gt; document, what does it do?
&gt; 
&gt; Finally:
&gt; 
&gt; &gt; the relationship is that Schema documents may define elements associated 
&gt; with one or more namespace URIs.
&gt; 
&gt; I'm not saying that you're asserting otherwise, but I want to confirm that 
&gt; my current understanding in this area is correct. I think that one schema 
&gt; document (XSD; a single .xsd file) can define elements associated with 
&gt; only one namespace URI (its target namespace).

See the &quot;chameleon&quot; schema pattern for a counter-example.
Second, a Schema Document can be comprised of multiple xsd files.
Neither I nor the XSD spec uses Schema Document to mean a single xsd
file.

&gt; I hope you don't think that I'm challenging you. That's not my intention. 

It wouldn't be a problem if you were, it's OK :-)

On the other hand it's 4am so I might not be all that coherent...

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70080.html</link><pubDate>Fri, 20 Apr 2012 04:01:18 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Thu, 2012-04-19 at 14:37 +0000, Rushforth, Peter wrote:
&gt; The point is, the media type advertisement
&gt; that is present in @xml:type _tells_ the crawler, or any other client,
&gt; if they will be able to understand what is at the other end of the
&gt; @xml:href.

You can never assume that the result of fetching a resource will be a
particular representation format. You might actually get anything back
at all. For sure you might get HTML 2 or HTML 4 as part of an HTTP 404
or 401 response, but content negotiation means you might get image/jpeg
instead.

Instead, it tells the client that the document author _expected_ a
particular type.

If we can agree that far maybe we can make progress on understanding
each other ;-)

I'm personally interested in typed links, where the types are rhetorical
in nature - e.g. &quot;supports&quot;, &quot;disagrees&quot;, or express other
relationships.

&gt;   One could write an ISO 19115:2003 crawler, for example,
&gt; and so long as the links were annotated with @xml:type, the
&gt; crawler could target that media type only, processing the elements in the
&gt; way it understands them, doing whatever it needs to do to meet its
&gt; goals (this might not be &quot;search&quot;, in the google sense, for example).

Someone else would write a crawler that checked out all the links and
fond the 90% that you'd missed, e.g. when you go to www.findmylover.com
and you get an HTML page that asks for a country, and then
www.findmylover.com/?country=rohan returns your geographical markup
language.

It's dynamic, not static.



&gt; &gt; Media type tells you what something is, not how to process 
&gt; &gt; it. There are lots of things you can do with an SVG image, 
&gt; &gt; for example, besides simply rendering it.
&gt; 
&gt; Media type (@xml:type) tells you what the media type of the advertised linked
&gt; representation might be (not: _is_), so you know if you should be able to process it.

When I wrote Media type I was referring to the label in the returned
HTTP header, which is authoritative.

&gt; An SVG image might be chosen over a png version so the client could edit 
&gt; the vectors, for example.  The media type advertisement allows clients
&gt; to know if they can send an Accept header with a value supporting that
&gt; use.

The client can *always* send an Accept header saying they prefer PNG to
SVG. (content negotiation is of course different from &quot;HTTP OPTIONS&quot;)


[...]

&gt; For sure, that is what the Accept header is for.  But the html author uses
&gt; the link to his own ends, and it sure isn't constrained to html.
&gt; For xml, where everyone mints his own media type effectively, @xml:type
&gt; is essential.

Maybe this is where I'm not following your argument.

Are you suggesting people would register individual schemas/vocabularies
with IANA themselves, or would use types like
  application/x-mallard+xml ?

&gt; Exactly.  Adding no-namespace-declaration hyperlinks is a big win, IMHO.

Is the problem the namespace declaration? There was talk about that a
year or two ago on xml-dev, about reforming namespaces, but there's too
much XML 1.0 inertia to make it easy.

&gt; xml:type isn't putting the media type into the link.  It's advertising
&gt; a representation format available from the URI. Very much link
&gt; atom:link@type.  Why has atom:link grown beyond atom?  Because
&gt; there is no equivalent thing in xml.

Hmm, I have not seen atom:link in use outside atom, I'd be interested to
learn more about that and see examples.

Note that we (W3C) did reduce the barrier of XLink a little, you only
need one attribute now. And declaring an XLink namespace seems no worse
than declaring an atom one to me.

[...]

&gt; The biggest barrier to use of xml on the web is following web service
&gt; paradigms which don't use the web architecture to advantage.
&gt; And, not having hypertext there when you need it.

I wonder if we got 20 people in a room together we could get agreement
on &quot;the biggest barrier&quot;... :-)

Web services are rapidly moving to JSON.

Sorry for a long reply.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30080.html</link><pubDate>Fri, 20 Apr 2012 02:28:30 GMT</pubDate></item><item><title>Re:  If I want to use catalogs for XSDs, must documentinstances</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Fri, 2012-04-20 at 12:29 +0800, Graham Hannington wrote:
&gt; If I want a catalog-aware XML application (such as jEdit with XML plugin, 
&gt; or Altova XMLSpy 2012) to use a catalog to locate XSDs to validate XML 
&gt; document instances, must the XML document instances contain schemaLocation 
&gt; attributes?
No.


&gt; I had hoped that perhaps these applications might look at the xmlns: 
&gt; attribute values (namespace URIs) in a document instance, and use the 
&gt; catalog to map these namespace URIs to the location of the corresponding 
&gt; XSD files, but that does not work for me in practice.

Neither should it.

There is no direct mapping between namespace URIs and Schema documents;
the relationship is that Schema documents may define elements associated
with one or more namespace URIs. It's a many*/many* relationship: an XML
document might not use any namespaces at all and yet still have one or
more XML Schema documents used to validate it. You might use any of
several schema documents (or several at once) depending on your goals.

&gt; 
&gt; So, either:
&gt; - The answer is &quot;yes&quot; (the document instances must contain schemaLocation 
&gt; attributes)
&gt; - The answer is &quot;no&quot;, and I'm doing something wrong in my catalog

The answer is that you have to tell your schema processor how to find he
schemas, and that schemaLocation attributes are one way, but not the
only way - the program might have another way to do it - but doing it
based on namespace URIs would not be a good way.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20080.html</link><pubDate>Fri, 20 Apr 2012 02:00:17 GMT</pubDate></item><item><title>RE:  RE: Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Maybe someone will put out shoes that communicate with Google's new information-enhanced-reality glasses, so that the glasses can warn you when your feet are about to collide with something or step off a curb. 

&gt; -----Original Message-----
&gt; From: Liam R E Quin [<A  HREF="mailto:&#x6c;&#105;&#97;&#109;&#64;&#x77;&#x33;.&#111;rg">mailto:&#x6c;&#105;&#97;&#109;&#64;&#x77;&#x33;.&#111;rg</A>]
&gt; Sent: Thursday, April 19, 2012 2:44 PM
&gt; To: i&#97;n&#46;g&#x72;aha&#109;&#x40;ut&#111;ro&#110;to&#46;ca
&gt; Cc: xm&#108;&#45;d&#x65;v&#x40;l&#x69;st&#x73;&#x2e;xml&#46;or&#x67;
&gt; Subject: Re:  RE: Footwear
&gt; 
&gt; On Thu, 2012-04-19 at 09:11 -0400, i&#97;n&#46;gr&#97;&#x68;a&#x6d;&#x40;&#117;&#x74;oro&#110;&#x74;o.&#x63;a wrote:
&gt; &gt; Wow. XML Shoes.
&gt; &gt;
&gt; &gt; This puts Liam in a true quandary, doesn't it?
&gt; 
&gt; :-)
&gt; 
&gt; The shoes I was actually thinking of were from Nike I think, and
&gt; communicated with an ipod (which uses XML to do this) to synchronise
&gt; your music with the speed of your running, or something like that.
&gt; 
&gt; Liam
&gt; 
&gt; --
&gt; Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
&gt; Pictures from old books: http://fromoldbooks.org/
&gt; 
&gt; 
&gt; _______________________________________________________________________
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#109;&#108;-&#x64;&#x65;&#118;-un&#x73;ubs&#99;r&#105;&#98;e&#x40;&#108;&#x69;s&#116;s&#46;&#120;ml&#x2e;&#111;rg
&gt; subscribe: x&#x6d;l-&#100;&#x65;v&#45;&#x73;ub&#x73;&#99;r&#105;&#98;e&#64;&#108;i&#x73;t&#115;.xm&#x6c;&#x2e;&#x6f;r&#x67;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70070.html</link><pubDate>Thu, 19 Apr 2012 19:31:55 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Rushforth, Peter scripsit:

&gt; Although they are strictly advisory, according to this note
&gt; 
&gt; http://www.w3.org/2001/tag/doc/mime-respect#metadata-hints

Well, sure.  Just because the client asks for the Lower Slobbovian
translation doesn't obligate the server to provide it.

-- 
&quot;Repeat this until 'update-mounts -v' shows no updates.         John Cowan
You may well have to log in to particular machines, hunt down   &#99;&#x6f;&#119;an&#x40;c&#x63;&#105;&#x6c;&#x2e;o&#x72;&#103;
people who still have processes running, and kill them.&quot;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00080.html</link><pubDate>Thu, 19 Apr 2012 16:52:21 GMT</pubDate></item><item><title>Re:  RE: Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>

Pity - I was hoping for shoes that _looked_ like  markup, with angle  
brackets for heel and toe, and maybe laces that read out attributes.  
That would be very cool ;-)


Quoting Liam R E Quin &lt;&#x6c;ia&#x6d;&#64;&#119;&#x33;.or&#103;&gt;:

&gt; On Thu, 2012-04-19 at 09:11 -0400, ian.&#x67;r&#x61;&#x68;am&#x40;u&#116;oron&#x74;o&#46;&#99;&#97; wrote:
&gt;&gt; Wow. XML Shoes.
&gt;&gt;
&gt;&gt; This puts Liam in a true quandary, doesn't it?
&gt;
&gt; :-)
&gt;
&gt; The shoes I was actually thinking of were from Nike I think, and
&gt; communicated with an ipod (which uses XML to do this) to synchronise
&gt; your music with the speed of your running, or something like that.
&gt;
&gt; Liam
&gt;
&gt; --
&gt; Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
&gt; Pictures from old books: http://fromoldbooks.org/
&gt;
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#x78;&#x6d;l&#x2d;d&#101;&#x76;&#x2d;&#117;nsu&#98;&#x73;&#x63;r&#105;be&#64;&#108;i&#115;&#116;s&#46;x&#109;l&#46;o&#114;&#x67;
&gt; subscribe: xm&#x6c;&#x2d;dev&#x2d;sub&#115;cri&#98;&#101;&#x40;li&#x73;t&#115;.xm&#108;&#46;&#111;&#114;g
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
&gt;



</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60070.html</link><pubDate>Thu, 19 Apr 2012 15:19:15 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Eliot is a faithful and durable cat.  He hoed to the end of that row.  I
bailed when I realized that past the basic ilink/clink concepts, I
didn't have the foggiest notion what the rest of the spec was for. I was
just too dumb.

It's a features-in-contexts challenge.   For the web where many media
types have to be negotiable (blind exchange) and loosely coupled (a link
locator and click detection inside a raster image vs a real time 3D
graphic are the same feature implemented within the constraints of
different media types) proper layering is sine qua non.  Hytime thinking
didn't really factor in the potentials of the environment being capable
of emailing state (async) and that the metadata authority is the
container not the content.  It was originally more concerned with the
linking applications of the media types themselves.

I come back to the IETM and note that attempts to go to databases
driving data packages to presentation systems have fared badly and we
might want to consider an XML native presentation engine where the
application language (what the DTD/schema declares) is handled by style
sheets with built in hypertext controls and a handful of XML-defined
names (say xml:href).

len

-----Original Message-----
From: Liam R E Quin [<A  HREF="mailto:li&#97;&#x6d;&#64;w3&#46;org">mailto:li&#97;&#x6d;&#64;w3&#46;org</A>] 
Sent: Thursday, April 19, 2012 1:50 PM
To: Len Bullard
Cc: Rushforth, Peter; xm&#108;-&#x64;&#101;v&#64;li&#x73;ts.&#x78;ml.&#111;rg
Subject: RE:  xml:href, xml:rel and xml:type

On Thu, 2012-04-19 at 08:10 -0500, Len Bullard wrote:
&gt; Let's be fair.  Hytime became Elliot's by award and rightfully given
the
&gt; work he put into it, but it was being worked some years before Eliot.

Yes. Eliot was, in a way, to HyTime as Yuri was to SGML.

Layered and loosely-coupled systems win out every time over complex
monolithic ones. Of course, one must not confuse complex systems with
large specifications - the spec might be larger because it is clearer
and more precise, and not only because of new features.

Best,

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90070.html</link><pubDate>Thu, 19 Apr 2012 14:57:25 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
John,

If XLink is to support the web , they should be added for sure.

Although they are strictly advisory, according to this note

http://www.w3.org/2001/tag/doc/mime-respect#metadata-hints

Cheers,
Peter 

&gt; -----Original Message-----
&gt; From: John Cowan [<A  HREF="mailto:co&#x77;a&#110;&#x40;c&#99;&#x69;&#x6c;&#46;&#111;&#114;g">mailto:co&#x77;a&#110;&#x40;c&#99;&#x69;&#x6c;&#46;&#111;&#114;g</A>] On Behalf Of John Cowan
&gt; Sent: April 19, 2012 01:58
&gt; To: Liam R E Quin
&gt; Cc: Rushforth, Peter; Len Bullard; x&#x6d;l-d&#x65;&#118;&#x40;li&#x73;ts.xml.&#x6f;&#114;g
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; Liam R E Quin scripsit:
&gt; 
&gt; &gt; Indeed, different HTTP clients (browsers) might receive different 
&gt; &gt; formats, depending on the Accept: HTTP headers they send.
&gt; 
&gt; Which is why XInclude has xi:include/@accept and 
&gt; xi:include/@accept-language headers, so that including 
&gt; documents can specify a particular version of included 
&gt; documents to try to fetch.
&gt; 
&gt; These could be added to XLink 1.2 if anyone cared.
&gt; 
&gt; -- 
&gt; Not to perambulate                 John Cowan &lt;&#x63;owa&#110;&#x40;&#99;&#x63;i&#108;&#46;org&gt;
&gt;     the corridors                  http://www.ccil.org/~cowan
&gt; during the hours of repose
&gt;     in the boots of ascension.       --Sign in Austrian 
&gt; ski-resort hotel
&gt; </pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20070.html</link><pubDate>Thu, 19 Apr 2012 14:50:34 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Thu, 2012-04-19 at 08:10 -0500, Len Bullard wrote:
&gt; Let's be fair.  Hytime became Elliot's by award and rightfully given the
&gt; work he put into it, but it was being worked some years before Eliot.

Yes. Eliot was, in a way, to HyTime as Yuri was to SGML.

Layered and loosely-coupled systems win out every time over complex
monolithic ones. Of course, one must not confuse complex systems with
large specifications - the spec might be larger because it is clearer
and more precise, and not only because of new features.

Best,

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50070.html</link><pubDate>Thu, 19 Apr 2012 14:49:32 GMT</pubDate></item><item><title>RE:  RE: Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Attach sensors in all the latest fashions and network them to situation
awareness apps noting both personal and neighboring contexts.  The
possibilities are 

.... dreadful.  Or a Saturday Night Live sketch.

len

From: Liam R E Quin [<A  HREF="mailto:liam&#x40;&#x77;3&#46;&#111;rg">mailto:liam&#x40;&#x77;3&#46;&#111;rg</A>] 
Sent: Thursday, April 19, 2012 1:44 PM
To: &#105;an.g&#114;&#97;ha&#x6d;&#64;&#x75;t&#x6f;ro&#110;to&#x2e;&#99;&#97;
Cc: xml-&#100;ev&#64;l&#x69;s&#x74;&#115;.&#120;ml&#x2e;&#x6f;&#114;g
Subject: Re:  RE: Footwear

On Thu, 2012-04-19 at 09:11 -0400, i&#97;&#x6e;.&#x67;r&#x61;ham&#x40;&#117;&#116;&#111;r&#x6f;nt&#x6f;.c&#x61; wrote:
&gt; Wow. XML Shoes.
&gt; 
&gt; This puts Liam in a true quandary, doesn't it?

:-)

The shoes I was actually thinking of were from Nike I think, and
communicated with an ipod (which uses XML to do this) to synchronise
your music with the speed of your running, or something like that.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80070.html</link><pubDate>Thu, 19 Apr 2012 14:46:11 GMT</pubDate></item><item><title>Re:  RE: Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Thu, 2012-04-19 at 09:11 -0400, &#x69;&#x61;n.&#x67;r&#x61;&#104;&#x61;m&#x40;u&#x74;&#x6f;ront&#111;.c&#x61; wrote:
&gt; Wow. XML Shoes.
&gt; 
&gt; This puts Liam in a true quandary, doesn't it?

:-)

The shoes I was actually thinking of were from Nike I think, and
communicated with an ipod (which uses XML to do this) to synchronise
your music with the speed of your running, or something like that.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40070.html</link><pubDate>Thu, 19 Apr 2012 14:43:57 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Liam, 

&gt; On Tue, 2012-04-17 at 12:05 +0000, Rushforth, Peter wrote:
&gt; [...]
&gt; &gt; Web crawlers, to take one example, can't crawl xml, because 
&gt; there is 
&gt; &gt; no reliable static markup to identify links in all xml.
&gt; 
&gt; There's also no way to mark what's content, which elements 
&gt; break phrases, how to make elements bold or italic, which 
&gt; elements are titles, that Web crawlers need to generate 
&gt; result snippets.

This is because its XML, and html crawlers don't speak an infinite
number of media types/vocabularies.  The point is, the media type advertisement
that is present in @xml:type _tells_ the crawler, or any other client,
if they will be able to understand what is at the other end of the
@xml:href.  One could write an ISO 19115:2003 crawler, for example,
and so long as the links were annotated with @xml:type, the
crawler could target that media type only, processing the elements in the
way it understands them, doing whatever it needs to do to meet its
goals (this might not be &quot;search&quot;, in the google sense, for example).


&gt; &gt;   The existence of xml:href solves that problem.
&gt; &gt; Unless they are Kreskin crawlers they won't know what to do 
&gt; with the xml when they find it.
&gt; &gt; That is what @xml:type is there for.  While application/xml 
&gt; does not 
&gt; &gt; tell you too much, there are sub sub media types, media type 
&gt; &gt; parameters etc to tell you how to process the 
&gt; representation once you retrieve it.  Also, it does not have 
&gt; to be xml :-).
&gt; 
&gt; Media type tells you what something is, not how to process 
&gt; it. There are lots of things you can do with an SVG image, 
&gt; for example, besides simply rendering it.

Media type (@xml:type) tells you what the media type of the advertised linked
representation might be (not: _is_), so you know if you should be able to process it.

An SVG image might be chosen over a png version so the client could edit 
the vectors, for example.  The media type advertisement allows clients
to know if they can send an Accept header with a value supporting that
use.  It's not authoritative, of course, because its metadata in a
representation, but it allows for potential efficiencies  eg not having
to send an OPTIONS to determine media type availability.

&gt; Putting media types in static content is generally not a good 
&gt; architecture. The remote Web server will send a media type as 
&gt; an HTTP header and that is what should be used - it is 
&gt; normative, authoritative. 
&gt; This is why, in HTML, it's &lt;a href=&quot;foo&quot;&gt; and not &lt;a href=&quot;fo&quot;
&gt; type=&quot;text/html&quot;&gt;
&gt; 
&gt; Indeed, different HTTP clients (browsers) might receive 
&gt; different formats, depending on the Accept: HTTP headers they send.

For sure, that is what the Accept header is for.  But the html author uses
the link to his own ends, and it sure isn't constrained to html.
For xml, where everyone mints his own media type effectively, @xml:type
is essential.

&gt; 
&gt; &gt; 
&gt; &gt; Why is xml:lang needed for xml itself?  or xml:base for that matter?
&gt; &gt; Why is linking less important?
&gt; 
&gt; Where you start and stop is fairly arbitrary. We didn't do 
&gt; xml:id in the first spec either.

Exactly.  Adding no-namespace-declaration hyperlinks is a big win, IMHO.
Take xml:base.  That attribute is in the same spirit as xml:href, I think,
except it describes *this* document, not *that* document.

&gt; 
&gt; Peter, the people you need to persuade here mostly fall into 
&gt; two broad camps - (1) people happy with XML and namespaces 
&gt; and who generally see little or no problem with XLink. XLink 
&gt; already has the ability to describe the &quot;state of the cilent&quot; 
&gt; as you call it, to specify link relationships (like the rel 
&gt; attribute on &quot;a&quot; and &quot;link&quot; in HTML), and does not have the 
&gt; Web-architecture-breakage of putting media types into links 
&gt; ;-)... and 

xml:type isn't putting the media type into the link.  It's advertising
a representation format available from the URI. Very much link
atom:link@type.  Why has atom:link grown beyond atom?  Because
there is no equivalent thing in xml.  Nothing against xlink; use
it if it fits your needs.  The point is all of xml needs links
to other documents, and the barrier of xlink is too high.

(2) people who have no interest in using XML on 
&gt; the Web today, and for whom the difference between xlink:href 
&gt; and xml:href is like saying, buy a Jeep because the rear axle 
&gt; leaf spring bushings are polyurethane whereas in a Toyota 
&gt; they're aluminium.

&gt; The biggest barrier to XML on the Web today is that when Aunt 
&gt; Tillie tries it, and leaves quotes of her attribute values, 
&gt; she gets a really confusing error message.
&gt; 
&gt; The next biggest is lack of architectural forms for search 
&gt; crawlers and ad servers to use.
&gt; 
&gt; Without ads, and with strict syntax, we're not about to take 
&gt; over the world.

The biggest barrier to use of xml on the web is following web service
paradigms which don't use the web architecture to advantage.
And, not having hypertext there when you need it.

&gt; We are limited in the ways we can change XML itself, although 
&gt; we can change the layers above more easily.
It's the easy part that prevents interoperability on a grand 
scale.  Of course, XML is all about making certain things easy.
The other stuff, the really really really important stuff, should
come built in and fixed.

Cheers,
Peter</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10070.html</link><pubDate>Thu, 19 Apr 2012 14:37:33 GMT</pubDate></item><item><title>RE: Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
http://www.chictopia.com/xml-shoes-qq/xml/fashion/clothes-shoes

----------------------------------------
David A. Lee
&#x64;&#x6c;&#101;&#101;&#x40;c&#97;lldei.&#99;&#111;m
http://www.xmlsh.org


&gt; -----Original Message-----
&gt; From: Norm Birkett [<A  HREF="mailto:N&#x6f;rm&#x2e;&#x42;&#x69;&#x72;kett&#64;rev&#97;l&#x2e;co&#109;">mailto:N&#x6f;rm&#x2e;&#x42;&#x69;&#x72;kett&#64;rev&#97;l&#x2e;co&#109;</A>]
&gt; Sent: Thursday, April 19, 2012 8:42 AM
&gt; To: &#120;&#x6d;&#x6c;&#x2d;&#100;&#x65;v&#x40;&#x6c;i&#x73;&#x74;s.&#x78;ml.&#111;r&#103;
&gt; Subject:  Footwear
&gt; 
&gt; &gt; -----Original Message-----
&gt; &gt; From: Liam R E Quin [<A  HREF="mailto:&#x6c;i&#97;&#x6d;&#64;&#119;3.&#111;rg">mailto:&#x6c;i&#97;&#x6d;&#64;&#119;3.&#111;rg</A>]
&gt; ...
&gt; &gt; XML is used ... in shoes.... OK, not in _all_ shoes, but there were
&gt; &gt; some. Honest ;)
&gt; ...
&gt; 
&gt; Some sort of advanced, dynamic running shoe, maybe? Or ultra-high-heel
&gt; platforms with self-balancing features to make them safer for starlets? The
&gt; footie component of recent spacesuits? Hazmat boots with radiation-level
&gt; logging? Automatic self-camoflaging army boots?
&gt; 
&gt; Or was it just Maxwell Smart's shoe phone? (But I always thought that was an
&gt; analog device.)
&gt; 
&gt; Norm
&gt; 
&gt; 
&gt; ________________________________________________________________
&gt; _______
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: xm&#108;&#x2d;&#100;ev-u&#x6e;&#115;ub&#x73;&#x63;ribe&#64;l&#x69;st&#115;&#46;&#x78;m&#x6c;.org
&gt; subscribe: &#120;m&#108;&#45;d&#101;&#x76;&#45;su&#x62;&#115;c&#114;&#105;&#98;e&#64;&#x6c;i&#x73;&#116;&#115;.&#x78;&#109;&#108;.&#x6f;r&#x67;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70060.html</link><pubDate>Thu, 19 Apr 2012 12:50:58 GMT</pubDate></item><item><title>Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
&gt; -----Original Message-----
&gt; From: Liam R E Quin [<A  HREF="mailto:l&#x69;a&#x6d;&#64;w3.o&#114;&#x67;">mailto:l&#x69;a&#x6d;&#64;w3.o&#114;&#x67;</A>]
...
&gt; XML is used ... in shoes.... OK, not in _all_ shoes, but there were
&gt; some. Honest ;)
...

Some sort of advanced, dynamic running shoe, maybe? Or ultra-high-heel platforms with self-balancing features to make them safer for starlets? The footie component of recent spacesuits? Hazmat boots with radiation-level logging? Automatic self-camoflaging army boots?

Or was it just Maxwell Smart's shoe phone? (But I always thought that was an analog device.)

Norm

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60060.html</link><pubDate>Thu, 19 Apr 2012 12:42:08 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
From cited document:

&quot;For Web architecture, a design choice has been made that metadata
received in an encapsulating container MUST be considered authoritative
and used in preference to metadata found by inspection of the data,
declared by embedded metadata, or provided by external reference.
Although this design choice is generally applicable to any container
format, including archival formats that encapsulate other data, the most
significant interpretation for Web architecture is that representation
metadata found within the header fields of a received message shall be
considered authoritative for the representation encapsulated within that
message.&quot;

And that is a system constraint.  IOW, on the web/off the web is
systemically meaningful and this is why:  governing authority at the
point of making meaningful choices, deciding probability in advance.

Expectations are powerful.  Explain to your boss (as I was a few minutes
ago) why ID/IDREF relationships are meaningful as XML typed
relationships in the XML entity but are NOT hyperlinks and why.  Anyone
writing a history should devote a chapter or three to this precise issue
because almost everything that follows technically after 1996 at the
publishing of the MIME/Multipart specification diverges here.  The
network definition seizes authority over the document itself.  It is the
system handler taking charge over the content being handled.   

As long as all that is wanted is a control handler, this is fine.  As
soon as the data (say href-marked) is applied as a different kind of
metadata (eg, to denote an abstract relationship), it goes to complexity
hell with question &quot;is this de-referenceable?&quot; being the signpost up
ahead and you are in the twilight zone.

A description of the contents of the Cheerios box may be litigable but
it isn't affective once the cereal is in the bowl of milk.  Thus
self-descriptive data formats.

len


-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:&#x50;&#101;&#116;&#x65;&#x72;.&#82;&#x75;&#x73;hfo&#114;th&#x40;&#78;&#82;Can-R&#78;C&#97;n.g&#x63;&#46;ca">mailto:&#x50;&#101;&#116;&#x65;&#x72;.&#82;&#x75;&#x73;hfo&#114;th&#x40;&#78;&#82;Can-R&#78;C&#97;n.g&#x63;&#46;ca</A>] 
Sent: Thursday, April 19, 2012 9:51 AM
To: John Cowan; Liam R E Quin
Cc: Len Bullard; x&#109;&#108;-d&#101;v&#64;&#108;ists.xm&#108;.o&#114;g
Subject: RE:  xml:href, xml:rel and xml:type

John,

If XLink is to support the web , they should be added for sure.

Although they are strictly advisory, according to this note

http://www.w3.org/2001/tag/doc/mime-respect#metadata-hints

Cheers,
Peter 

&gt; -----Original Message-----
&gt; From: John Cowan [<A  HREF="mailto:&#x63;o&#119;&#x61;&#110;&#64;cci&#108;&#46;org">mailto:&#x63;o&#119;&#x61;&#110;&#64;cci&#108;&#46;org</A>] On Behalf Of John Cowan
&gt; Sent: April 19, 2012 01:58
&gt; To: Liam R E Quin
&gt; Cc: Rushforth, Peter; Len Bullard; &#x78;&#x6d;&#x6c;&#45;d&#x65;v&#64;&#108;&#105;s&#116;s.xm&#108;.&#111;&#x72;g
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; Liam R E Quin scripsit:
&gt; 
&gt; &gt; Indeed, different HTTP clients (browsers) might receive different 
&gt; &gt; formats, depending on the Accept: HTTP headers they send.
&gt; 
&gt; Which is why XInclude has xi:include/@accept and 
&gt; xi:include/@accept-language headers, so that including 
&gt; documents can specify a particular version of included 
&gt; documents to try to fetch.
&gt; 
&gt; These could be added to XLink 1.2 if anyone cared.
&gt; 
&gt; -- 
&gt; Not to perambulate                 John Cowan &lt;&#99;&#x6f;w&#x61;n&#64;&#99;&#99;&#x69;&#108;&#46;o&#x72;&#103;&gt;
&gt;     the corridors                  http://www.ccil.org/~cowan
&gt; during the hours of repose
&gt;     in the boots of ascension.       --Sign in Austrian 
&gt; ski-resort hotel
&gt; 
_______________________________________________________________________

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: &#x78;&#x6d;l&#x2d;de&#x76;&#x2d;unsub&#115;&#99;&#x72;&#x69;&#98;&#101;&#x40;&#108;&#105;&#x73;ts.x&#109;&#108;&#x2e;or&#103;
subscribe: xml-d&#101;v&#45;&#x73;u&#98;s&#99;r&#x69;be&#x40;&#108;&#105;&#x73;&#x74;s.xml&#46;&#x6f;rg
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30070.html</link><pubDate>Thu, 19 Apr 2012 10:18:30 GMT</pubDate></item><item><title>Re:  RE: Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Wow. XML Shoes.

This puts Liam in a true quandary, doesn't it?

Quoting David Lee &lt;&#x64;lee&#64;&#99;a&#108;&#108;&#100;&#x65;i.&#x63;o&#109;&gt;:

&gt; http://www.chictopia.com/xml-shoes-qq/xml/fashion/clothes-shoes
&gt;
&gt; ----------------------------------------
&gt; David A. Lee
&gt; &#x64;lee&#x40;ca&#x6c;l&#100;e&#105;.c&#x6f;&#x6d;
&gt; http://www.xmlsh.org
&gt;
&gt;
&gt;&gt; -----Original Message-----
&gt;&gt; From: Norm Birkett [<A  HREF="mailto:N&#111;rm.&#x42;ir&#107;&#x65;&#116;&#116;&#x40;&#x72;&#101;v&#x61;&#108;.&#99;&#x6f;&#109;">mailto:N&#111;rm.&#x42;ir&#107;&#x65;&#116;&#116;&#x40;&#x72;&#101;v&#x61;&#108;.&#99;&#x6f;&#109;</A>]
&gt;&gt; Sent: Thursday, April 19, 2012 8:42 AM
&gt;&gt; To: &#x78;&#x6d;l&#45;&#100;&#x65;v&#x40;&#x6c;&#105;st&#x73;.x&#x6d;&#108;.o&#114;&#103;
&gt;&gt; Subject:  Footwear
&gt;&gt;
&gt;&gt; &gt; -----Original Message-----
&gt;&gt; &gt; From: Liam R E Quin [<A  HREF="mailto:&#x6c;i&#x61;&#109;&#64;&#119;3&#46;&#x6f;&#114;g">mailto:&#x6c;i&#x61;&#109;&#64;&#119;3&#46;&#x6f;&#114;g</A>]
&gt;&gt; ...
&gt;&gt; &gt; XML is used ... in shoes.... OK, not in _all_ shoes, but there were
&gt;&gt; &gt; some. Honest ;)
&gt;&gt; ...
&gt;&gt;
&gt;&gt; Some sort of advanced, dynamic running shoe, maybe? Or ultra-high-heel
&gt;&gt; platforms with self-balancing features to make them safer for starlets? The
&gt;&gt; footie component of recent spacesuits? Hazmat boots with radiation-level
&gt;&gt; logging? Automatic self-camoflaging army boots?
&gt;&gt;
&gt;&gt; Or was it just Maxwell Smart's shoe phone? (But I always thought that was an
&gt;&gt; analog device.)
&gt;&gt;
&gt;&gt; Norm
&gt;&gt;
&gt;&gt;
&gt;&gt; ________________________________________________________________
&gt;&gt; _______
&gt;&gt;
&gt;&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt;&gt; to support XML implementation and development. To minimize
&gt;&gt; spam in the archives, you must subscribe before posting.
&gt;&gt;
&gt;&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt;&gt; Or unsubscribe: &#x78;ml-de&#118;-uns&#117;&#98;s&#x63;r&#x69;&#x62;&#x65;&#64;l&#105;s&#x74;s&#x2e;xm&#x6c;&#x2e;&#111;r&#103;
&gt;&gt; subscribe: x&#109;&#108;&#45;d&#x65;&#118;&#45;s&#x75;bsc&#x72;&#x69;&#x62;&#x65;&#64;l&#x69;sts&#x2e;x&#109;l&#x2e;&#x6f;r&#103;
&gt;&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt;&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;&gt;
&gt;
&gt;
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#120;ml&#45;&#100;&#101;&#x76;-un&#x73;ub&#115;&#x63;&#114;ibe&#64;&#108;is&#116;&#x73;.xml&#46;&#x6f;&#x72;&#x67;
&gt; subscribe: xm&#x6c;&#x2d;&#100;&#101;v-&#115;&#x75;b&#115;c&#x72;i&#98;e&#64;&#108;&#105;&#115;ts.&#x78;m&#x6c;&#46;org
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
&gt;



</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90060.html</link><pubDate>Thu, 19 Apr 2012 09:11:00 GMT</pubDate></item><item><title>Re:  Footwear</title><description><![CDATA[<!--X-Body-of-Message-->
Strangely, shoes using XML doesn&#39;t really seem that far out these days.  I work with a lot of remote sensor and system monitoring devices and although I haven&#39;t seen XML coming off the devices yet I have seen some talk about it.  Many of the device manufacturers provide gateways to access device data that they aggregate and that access is usually through some form of Web Services...<div>
<br clear="all">Peter Hunsberger<br>
<br><br><div class="gmail_quote">On Thu, Apr 19, 2012 at 7:42 AM, Norm Birkett <span dir="ltr">&lt;<a href="mailto:&#78;&#x6f;&#114;&#x6d;.&#x42;i&#114;&#x6b;e&#x74;&#116;&#64;&#x72;&#x65;&#118;&#x61;&#x6c;&#x2e;&#99;om">&#78;&#x6f;&#114;&#x6d;.&#x42;i&#114;&#x6b;e&#x74;&#116;&#64;&#x72;&#x65;&#118;&#x61;&#x6c;&#x2e;&#99;om</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; -----Original Message-----<br>
&gt; From: Liam R E Quin [mailto:<a href="mailto:li&#97;&#x6d;&#64;w&#51;.o&#x72;&#103;">li&#97;&#x6d;&#64;w&#51;.o&#x72;&#103;</a>]<br>
...<br>
&gt; XML is used ... in shoes.... OK, not in _all_ shoes, but there were<br>
&gt; some. Honest ;)<br>
...<br>
<br>
Some sort of advanced, dynamic running shoe, maybe? Or ultra-high-heel platforms with self-balancing features to make them safer for starlets? The footie component of recent spacesuits? Hazmat boots with radiation-level logging? Automatic self-camoflaging army boots?<br>

<br>
Or was it just Maxwell Smart&#39;s shoe phone? (But I always thought that was an analog device.)<br>
<br>
Norm<br>
<br>
<br>
_______________________________________________________________________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:&#120;ml&#x2d;&#100;e&#118;&#x2d;un&#115;ubs&#99;rib&#101;&#x40;&#x6c;i&#x73;&#116;s&#46;x&#109;&#108;.o&#x72;&#103;">&#120;ml&#x2d;&#100;e&#118;&#x2d;un&#115;ubs&#99;rib&#101;&#x40;&#x6c;i&#x73;&#116;s&#46;x&#109;&#108;.o&#x72;&#103;</a><br>
subscribe: <a href="mailto:x&#x6d;l-d&#x65;v&#45;&#x73;&#117;bs&#x63;&#114;&#x69;b&#101;&#x40;lis&#116;&#x73;.&#x78;m&#108;&#x2e;or&#x67;">x&#x6d;l-d&#x65;v&#45;&#x73;&#117;bs&#x63;&#114;&#x69;b&#101;&#x40;lis&#116;&#x73;.&#x78;m&#108;&#x2e;or&#x67;</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br>
</blockquote></div><br></div>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00070.html</link><pubDate>Thu, 19 Apr 2012 08:56:53 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Let's be fair.  Hytime became Elliot's by award and rightfully given the
work he put into it, but it was being worked some years before Eliot.
In fact, if you have the technical history of Hytime by example, you
have most of everything ever tried in hypertext linking.  The original
drafts are almost identical to what would become web HTML long before it
stopped to REST (again, be fair: REST is a retrofit). Arch forms come at
the end of a long line of good tries.  Timing and luck and implementors:
at the end of the day, it comes down to implementors.

An XML hypertext engine that plays well with REST and ignores undeclared
gencodes is a viable approach if &quot;anyone cares&quot;.   It would be a
continual frenetic activity of choosing what to implement and what is
too application-specific to care.    IADS/IDEAS was just that: a fixed
set of tags that then became tag types and eventually a morass of
processing instructions and the rest of straight-up XML before there was
an XML with a style sheet per document type.  No RDBs needed or wanted.

Why do it?  Why do hypertext PDF?

If you want to look at the ultimate complex approach, look at S1000D
where a configuration management approach dominates the design over a
Common Source Data Base.  Lots of money spent but suspended in gaffa
otherwise.  Why?  So far it doesn't solve problems people care about for
the cost of the solution.  John Junod (hey, john) may drop by to pound
me for saying that.

len

-----Original Message-----
From: Liam R E Quin [<A  HREF="mailto:&#x6c;&#x69;&#97;m&#x40;w3&#46;&#111;&#x72;&#x67;">mailto:&#x6c;&#x69;&#97;m&#x40;w3&#46;&#111;&#x72;&#x67;</A>] 
Sent: Wednesday, April 18, 2012 11:20 PM
To: Rushforth, Peter
Cc: Len Bullard; &#120;&#109;l&#45;d&#x65;v&#x40;l&#105;sts&#46;x&#109;l.o&#x72;g
Subject: RE:  xml:href, xml:rel and xml:type

On Tue, 2012-04-17 at 12:05 +0000, Rushforth, Peter wrote:
[...]
&gt; Web crawlers, to take one example, can't crawl xml, because there is
no reliable static
&gt; markup to identify links in all xml.

There's also no way to mark what's content, which elements break
phrases, how to make elements bold or italic, which elements are titles,
that Web crawlers need to generate result snippets.

Arch Forms were the HyTime/Eliot-Compatible Approach (HTECA).


&gt;   The existence of xml:href solves that problem.
&gt; Unless they are Kreskin crawlers they won't know what to do with the
xml when they find it.
&gt; That is what @xml:type is there for.  While application/xml does not
tell you too
&gt; much, there are sub sub media types, media type parameters etc to tell
you how
&gt; to process the representation once you retrieve it.  Also, it does not
have to be xml :-).

Media type tells you what something is, not how to process it. There are
lots of things you can do with an SVG image, for example, besides simply
rendering it.

&gt; 
&gt; Finally, applications which use xml on the web need a way to decide /
let the
&gt; client decide what state is the next state for the client.  That is
what @xml:rel 
&gt; is for.
&gt; 
&gt; How is this different from xlink?  For one thing, it is static shared
markup that
&gt; can be reliably used by the entire community.  For another, xlink:type
and xml:type are
&gt; different. xlink:type describes the processing of the link, while
xml:type advertises
&gt; the media type that may be negotiable from the server (no guarantees,
after all its
&gt; the server's resource).

Putting media types in static content is generally not a good
architecture. The remote Web server will send a media type as an HTTP
header and that is what should be used - it is normative,
authoritative. 
This is why, in HTML, it's &lt;a href=&quot;foo&quot;&gt; and not &lt;a href=&quot;fo&quot;
type=&quot;text/html&quot;&gt;

Indeed, different HTTP clients (browsers) might receive different
formats, depending on the Accept: HTTP headers they send.

&gt; 
&gt; Why is xml:lang needed for xml itself?  or xml:base for that matter?
&gt; Why is linking less important?

Where you start and stop is fairly arbitrary. We didn't do xml:id in the
first spec either.

Peter, the people you need to persuade here mostly fall into two broad
camps - (1) people happy with XML and namespaces and who generally see
little or no problem with XLink. XLink already has the ability to
describe the &quot;state of the cilent&quot; as you call it, to specify link
relationships (like the rel attribute on &quot;a&quot; and &quot;link&quot; in HTML), and
does not have the Web-architecture-breakage of putting media types into
links ;-)... and (2) people who have no interest in using XML on the Web
today, and for whom the difference between xlink:href and xml:href is
like saying, buy a Jeep because the rear axle leaf spring bushings are
polyurethane whereas in a Toyota they're aluminium.

The biggest barrier to XML on the Web today is that when Aunt Tillie
tries it, and leaves quotes of her attribute values, she gets a really
confusing error message.

The next biggest is lack of architectural forms for search crawlers and
ad servers to use.

Without ads, and with strict syntax, we're not about to take over the
world.

That's actually fine, too. XML is used in televisions, in DVD players,
in music players, in 'plane navigation systems, in shoes, in car
engines, all over the world. OK, not in _all_ shoes, but there were
some. Honest ;)

We are limited in the ways we can change XML itself, although we can
change the layers above more easily.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/


_______________________________________________________________________

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-&#100;ev-un&#x73;u&#98;s&#x63;r&#x69;b&#x65;&#x40;l&#105;st&#115;&#x2e;x&#109;&#108;.org
subscribe: &#120;m&#x6c;&#45;&#x64;e&#x76;-su&#98;&#x73;&#99;r&#x69;be&#64;l&#x69;&#x73;&#x74;s.&#x78;ml&#46;o&#x72;g
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80060.html</link><pubDate>Thu, 19 Apr 2012 08:10:49 GMT</pubDate></item><item><title>[ANN] Relax NG validation tool Serene 0.6.1 released</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
This is a one-time post to announce the Serene 0.6.1 release.

The purpose of the Serene project is to create an open source
validation engine implementing the JAXP 1.3 Validation Framework API
for RELAX NG, that concentrates on good messages and a clear handling
of ambiguity and conflicts.

For this release, Serene has been extensively reviewed and refactored
in order to improve performance. Some bugs were fixed, messages were
slightly tweaked, one feature was added.

For more information, please come to
 http://code.google.com/p/serene/

Thank you,
Radu Cernuta
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40060.html</link><pubDate>Thu, 19 Apr 2012 07:39:54 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Liam R E Quin scripsit:

&gt; Indeed, different HTTP clients (browsers) might receive different
&gt; formats, depending on the Accept: HTTP headers they send.

Which is why XInclude has xi:include/@accept and xi:include/@accept-language
headers, so that including documents can specify a particular version of
included documents to try to fetch.

These could be added to XLink 1.2 if anyone cared.

-- 
Not to perambulate                 John Cowan &lt;cow&#x61;&#x6e;&#x40;&#99;&#x63;i&#108;&#x2e;&#111;&#114;&#103;&gt;
    the corridors                  http://www.ccil.org/~cowan
during the hours of repose
    in the boots of ascension.       --Sign in Austrian ski-resort hotel
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50060.html</link><pubDate>Thu, 19 Apr 2012 01:57:46 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Tue, 2012-04-17 at 12:05 +0000, Rushforth, Peter wrote:
[...]
&gt; Web crawlers, to take one example, can't crawl xml, because there is no reliable static
&gt; markup to identify links in all xml.

There's also no way to mark what's content, which elements break
phrases, how to make elements bold or italic, which elements are titles,
that Web crawlers need to generate result snippets.

Arch Forms were the HyTime/Eliot-Compatible Approach (HTECA).


&gt;   The existence of xml:href solves that problem.
&gt; Unless they are Kreskin crawlers they won't know what to do with the xml when they find it.
&gt; That is what @xml:type is there for.  While application/xml does not tell you too
&gt; much, there are sub sub media types, media type parameters etc to tell you how
&gt; to process the representation once you retrieve it.  Also, it does not have to be xml :-).

Media type tells you what something is, not how to process it. There are
lots of things you can do with an SVG image, for example, besides simply
rendering it.

&gt; 
&gt; Finally, applications which use xml on the web need a way to decide / let the
&gt; client decide what state is the next state for the client.  That is what @xml:rel 
&gt; is for.
&gt; 
&gt; How is this different from xlink?  For one thing, it is static shared markup that
&gt; can be reliably used by the entire community.  For another, xlink:type and xml:type are
&gt; different. xlink:type describes the processing of the link, while xml:type advertises
&gt; the media type that may be negotiable from the server (no guarantees, after all its
&gt; the server's resource).

Putting media types in static content is generally not a good
architecture. The remote Web server will send a media type as an HTTP
header and that is what should be used - it is normative,
authoritative. 
This is why, in HTML, it's &lt;a href=&quot;foo&quot;&gt; and not &lt;a href=&quot;fo&quot;
type=&quot;text/html&quot;&gt;

Indeed, different HTTP clients (browsers) might receive different
formats, depending on the Accept: HTTP headers they send.

&gt; 
&gt; Why is xml:lang needed for xml itself?  or xml:base for that matter?
&gt; Why is linking less important?

Where you start and stop is fairly arbitrary. We didn't do xml:id in the
first spec either.

Peter, the people you need to persuade here mostly fall into two broad
camps - (1) people happy with XML and namespaces and who generally see
little or no problem with XLink. XLink already has the ability to
describe the &quot;state of the cilent&quot; as you call it, to specify link
relationships (like the rel attribute on &quot;a&quot; and &quot;link&quot; in HTML), and
does not have the Web-architecture-breakage of putting media types into
links ;-)... and (2) people who have no interest in using XML on the Web
today, and for whom the difference between xlink:href and xml:href is
like saying, buy a Jeep because the rear axle leaf spring bushings are
polyurethane whereas in a Toyota they're aluminium.

The biggest barrier to XML on the Web today is that when Aunt Tillie
tries it, and leaves quotes of her attribute values, she gets a really
confusing error message.

The next biggest is lack of architectural forms for search crawlers and
ad servers to use.

Without ads, and with strict syntax, we're not about to take over the
world.

That's actually fine, too. XML is used in televisions, in DVD players,
in music players, in 'plane navigation systems, in shoes, in car
engines, all over the world. OK, not in _all_ shoes, but there were
some. Honest ;)

We are limited in the ways we can change XML itself, although we can
change the layers above more easily.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30060.html</link><pubDate>Thu, 19 Apr 2012 00:19:32 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Len,

Pleasantly surprised!   
&gt; You might be surprised to know I support the idea, Peter.  In 
&gt; days of old, SGML hypertext systems did not require 
&gt; downtranslation to a gencode
&gt; such as HTML and it's family of variants.   We could create a DTD,
&gt; create a stylesheet corresponding to it and using the 
&gt; reserved attributes of the specific hypertext engine (what 
&gt; HTML5 really is), display, navigate and retrieve as well as 
&gt; do various limited GUI
&gt; magicks.   My point of view is that types such as xml:href are
&gt; essentially that:  local engine controls for some n of local.
&gt; 


Thanks for that.

Cheers,
Peter</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10060.html</link><pubDate>Tue, 17 Apr 2012 16:59:08 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
No problem.  I'm in the unique slot, as Ken Holmann said, to eat my own
dog food.   I probably am the one who inserted those references to
Hytime some decades ago before I left for another life; so evolution has
bypassed this backwater of markup.   It is definitely ripe for upgrades
and it is a major user and distributor of XML Off The Web.

IMO, it shouldn't matter any longer if the XML user is off or on the
web.  Enough.  Battle over.  Web wins.  Tech is just tech and if we can
get a productivity/quality burst in these high cost/low pay days, let's
consider it.  Why NOT have an XML hypertext engine with full
capabilities?  There is NO reason why it has to be a gencoded system.   

&lt;emphasis&gt;HTML5 is lazy thinking.&lt;/emphasis&gt;

Imagine a 1400 page manual that has a few thousand xrefs being managed
by hand as the different manual parts are being assembled for final
rendering.  ID/IDREF checking is helpful but not nearly enough.  An
author and a user of the manual MUST be able to dereference those items.
This is quite literally a matter of life and death.   Consider a
procedure referencing, for example, an expendable item such as a sealant
compound with an xref pointing to the item listing of that compound in a
table of expendable items and there are five different types of sealants
ALL called sealant compound.   It is your job to put the references in
as an XML tagger and there are no SMEs to tell you which one is used in
which procedure.

Now imagine you are flying in a rotary aircraft at 175 knots that has
just come out of the shop for repairs that required sealant compounds.

Usually the mechs are smart enough to know but...

len

-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:Peter.&#82;&#x75;s&#104;f&#x6f;&#x72;&#x74;h&#64;NR&#67;a&#x6e;&#x2d;&#82;N&#x43;a&#x6e;&#x2e;&#103;&#99;.c&#97;">mailto:Peter.&#82;&#x75;s&#104;f&#x6f;&#x72;&#x74;h&#64;NR&#67;a&#x6e;&#x2d;&#82;N&#x43;a&#x6e;&#x2e;&#103;&#99;.c&#97;</A>] 
Sent: Tuesday, April 17, 2012 11:59 AM
To: Len Bullard
Cc: xml&#x2d;de&#x76;&#x40;lis&#x74;&#x73;.xml.o&#x72;&#103;
Subject: RE:  xml:href, xml:rel and xml:type

Len,

Pleasantly surprised!   
&gt; You might be surprised to know I support the idea, Peter.  In 
&gt; days of old, SGML hypertext systems did not require 
&gt; downtranslation to a gencode
&gt; such as HTML and it's family of variants.   We could create a DTD,
&gt; create a stylesheet corresponding to it and using the 
&gt; reserved attributes of the specific hypertext engine (what 
&gt; HTML5 really is), display, navigate and retrieve as well as 
&gt; do various limited GUI
&gt; magicks.   My point of view is that types such as xml:href are
&gt; essentially that:  local engine controls for some n of local.
&gt; 


Thanks for that.

Cheers,
Peter
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20060.html</link><pubDate>Tue, 17 Apr 2012 15:59:49 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Len,

The scope for these attributes is web linking.  I can see that there should
be a strict constraint on what gets put into the xml namespace.  xml codifies
a very few but very important things. xml:lang, xml:base and a couple of others.

My point of view on this is that html is &quot;big&quot; because it is static and shared.  xml needs
a bit of this static shared stuff to make it more amenable to certain uses.  Goal #1 of XML
was to be simple to use on the web.    To be simple to use,
it needs to have some static, reliably present markup which can be acted on.

Web crawlers, to take one example, can't crawl xml, because there is no reliable static
markup to identify links in all xml.  The existence of xml:href solves that problem.
Unless they are Kreskin crawlers they won't know what to do with the xml when they find it.
That is what @xml:type is there for.  While application/xml does not tell you too
much, there are sub sub media types, media type parameters etc to tell you how
to process the representation once you retrieve it.  Also, it does not have to be xml :-).

Finally, applications which use xml on the web need a way to decide / let the
client decide what state is the next state for the client.  That is what @xml:rel 
is for.

How is this different from xlink?  For one thing, it is static shared markup that
can be reliably used by the entire community.  For another, xlink:type and xml:type are
different. xlink:type describes the processing of the link, while xml:type advertises
the media type that may be negotiable from the server (no guarantees, after all its
the server's resource). 

Why is xml:lang needed for xml itself?  or xml:base for that matter?  Why is linking less important?

Cheers,
Peter

&gt; -----Original Message-----
&gt; From: Len Bullard [<A  HREF="mailto:c&#98;&#117;l&#108;&#97;r&#x64;&#64;hiw&#97;ay.&#110;&#x65;&#116;">mailto:c&#98;&#117;l&#108;&#97;r&#x64;&#64;hiw&#97;ay.&#110;&#x65;&#116;</A>] 
&gt; Sent: April 16, 2012 21:03
&gt; To: Rushforth, Peter; 'Simon St.Laurent'
&gt; Cc: l&#x69;&#97;m&#x40;w3.o&#114;g; xml-dev@l...
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; Not to worry, Peter.  We've practiced. :)
&gt; 
&gt; Essentially, xml:href adds application semantics to the XML 
&gt; specification.
&gt; XML abhors application semantics in its specification.  Adding those
&gt; violates the simplicity constraint.   Application 
&gt; specifications are free to
&gt; do that.  IOW, you are asking the wrong list.  Or maybe not, 
&gt; but the point is, XML doesn't specify XML applications past 
&gt; what is needed for XML itself.
&gt; 
&gt; 
&gt; Functional specifications for inter XML linking are a snap.  
&gt; Functional linking to other media types is built into the web.
&gt; 
&gt; What is the scope for xml:href linking and how does that 
&gt; differ from what is currently possible with previously 
&gt; specified technologies?
&gt; 
&gt; One compelling argument for functionally-spec'd XML is 
&gt; authoring common document type collections, eg, TOCs, typed 
&gt; indices, figure/table
&gt; collections, etc.   Tbese are human cultural notation types.  
&gt; Building those
&gt; into a system for use by humans is never wrong, IMHO.
&gt; 
&gt; len
&gt; 
&gt; 
&gt; 
&gt; -----Original Message-----
&gt; From: Rushforth, Peter [<A  HREF="mailto:P&#101;&#x74;e&#114;.R&#117;shf&#x6f;rt&#104;&#64;&#78;&#82;Ca&#110;&#45;R&#x4e;Ca&#x6e;&#46;gc&#x2e;&#99;a">mailto:P&#101;&#x74;e&#114;.R&#117;shf&#x6f;rt&#104;&#64;&#78;&#82;Ca&#110;&#45;R&#x4e;Ca&#x6e;&#46;gc&#x2e;&#99;a</A>]
&gt; Sent: Monday, April 16, 2012 6:55 PM
&gt; To: Len Bullard; Simon St.Laurent
&gt; Cc: li&#97;m&#64;w&#51;&#x2e;&#x6f;&#114;g; xml-dev@l...
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; Not to  preach, but I have always felt that respect for what 
&gt; has been achieved is a good place to start any conversation.
&gt; 
&gt; I am merely asking why some simple steps can't be taken to 
&gt; move the yardsticks a bit.  Not any steps:
&gt; the steps I am proposing.
&gt; 
&gt; Cheers,
&gt; Peter
&gt; ________________________________________
&gt; From: Len Bullard [&#x4c;&#x65;n&#x2e;&#66;ullard&#64;&#x73;e&#x73;&#x2d;i.com]
&gt; Sent: April 16, 2012 4:36 PM
&gt; To: Simon St.Laurent; Rushforth, Peter
&gt; Cc: &#x6c;i&#x61;m&#64;w3.org; xml-dev@l...
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; And so it begins.
&gt; 
&gt; The early HTML people disdained SGML as overbuilt and too 
&gt; hard to understand because they had yet to understand how and 
&gt; why it worked for the applications to which it had been 
&gt; applied.  The SGML people returned the disdain but helped them anyway.
&gt; 
&gt; Some decades on, as predicted, attempts to reinvent the early 
&gt; work on hypertext by the SGML community that evolved into the 
&gt; XML community continue.  At this point, everyone shares A 
&gt; working system so those
&gt; attempts have yet to produce a compelling case.   It is somewhat as if
&gt; once shown that a Ford A-model could double as a truck, no 
&gt; one needed anything better.  Cab heat would be nice but who 
&gt; wants to put the fur traders out of business?
&gt; 
&gt; Why no xml:href?   How many systems does it take to change a 
&gt; light bulb?
&gt; No one cares while the bulb is lit.
&gt; 
&gt; Why bolt a function-type system onto a syntax standard?  
&gt; (Linking is a process; not data).
&gt; 
&gt; len
&gt; 
&gt; -----Original Message-----
&gt; From: Simon St.Laurent [<A  HREF="mailto:&#x73;&#x69;m&#111;n&#115;t&#x6c;&#64;s&#x69;&#x6d;ons&#116;l&#x2e;c&#111;m">mailto:&#x73;&#x69;m&#111;n&#115;t&#x6c;&#64;s&#x69;&#x6d;ons&#116;l&#x2e;c&#111;m</A>]
&gt; Sent: Monday, April 16, 2012 3:15 PM
&gt; To: Rushforth, Peter
&gt; Cc: &#108;ia&#x6d;&#64;&#119;3&#x2e;&#x6f;&#x72;g; xml-dev@l...
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; 
&gt; The early XML folks may have found HTML to be not what they 
&gt; wanted, and seriously lacking in many respects, and the 
&gt; people driving the HTML conversation today return the disdain
&gt; 
&gt; 
&gt; What a misfire!
&gt; 
&gt; 
&gt; ______________________________________________________________
&gt; _________
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by 
&gt; OASIS to support XML implementation and development. To 
&gt; minimize spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#120;ml-&#x64;ev-u&#x6e;su&#98;scr&#105;&#x62;&#101;&#64;li&#x73;ts&#x2e;&#x78;ml&#x2e;&#111;r&#x67;
&gt; subscribe: &#x78;ml-d&#101;&#118;-subsc&#x72;&#105;be&#x40;l&#105;&#x73;&#116;&#x73;&#x2e;x&#x6d;l.o&#114;g List archive: 
&gt; http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 
&gt; 
&gt; </pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90050.html</link><pubDate>Tue, 17 Apr 2012 12:05:15 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
You might be surprised to know I support the idea, Peter.  In days of
old, SGML hypertext systems did not require downtranslation to a gencode
such as HTML and it's family of variants.   We could create a DTD,
create a stylesheet corresponding to it and using the reserved
attributes of the specific hypertext engine (what HTML5 really is),
display, navigate and retrieve as well as do various limited GUI
magicks.   My point of view is that types such as xml:href are
essentially that:  local engine controls for some n of local.

Betty Harvey may want to contribute here.  I don't think there are many
of us left who are familiar with what follows.

Why this idea is interesting even today:  I'd guess a majority of XML
users are not document specialists; they are bits on the wire
messengers.  OTOH,  I am a daily user/applier of one of the oldest still
viable type defs for marking up a document class: 40051/2361 with
clearly traceable roots to SGML. What follows is to show a case where a
consistent application of your proposal could improve effort although it
is not a web language application.  It creates a file resource for PDF
displays and IETM down translations.  There is also an extref for
references to external documents.

The linking information is spread out across the elements, but there is
one major cross-reference, the XREF.  For discussion's sake, here is the
element type declaration with its comment.   Note that in 2012, it
stills mentions Hytime links, fosi restrictions, etc.  I provide this as
an example of where progress along certain lines of hypertext
development froze in place as we wandered off to do thingsWeb.   The
restriction to a single entity kept it from being forced to move to the
web technology; yet, in practice, the endpoints of most of the
proto-links (id/idrefs) are produced in separate entities.  Because SGML
pushed a link through an entity declaration for indirection, all of the
information is there except the hypertext type information.  IOW, it has
no concept of a URL.  

&lt;!ELEMENT xref EMPTY&gt;
&lt;!ATTLIST xref  taskid    IDREF  #IMPLIED
                  wpid      IDREF  #IMPLIED
                  stepstart IDREF  #IMPLIED
                  stepend   IDREF  #IMPLIED
                  figid     IDREF  #IMPLIED
                  itemno    CDATA  #IMPLIED
                  itemid    IDREF  #IMPLIED
                  callout   CDATA  #IMPLIED
                  tableid   IDREF  #IMPLIED
                  tslocid   IDREF  #IMPLIED
                  pagelocid IDREF  #IMPLIED
                  pretext   CDATA  #IMPLIED
                  posttext  CDATA  #IMPLIED
                  termdefid IDREF  #IMPLIED
                  security  (uc | fouo | c | s | ts )  #IMPLIED
			restrict NMTOKENS  #IMPLIED
			release  NMTOKENS  #IMPLIED
			codeword NMTOKENS  #IMPLIED
			scilevel  (0 | 1 )  '0'
			diglyph  NMTOKENS  #IMPLIED &gt;

&lt;!-- 
This element and its attributes are for classic cross-references in
paper manuals or for simple electronic links. References may be to
entire work packages, to maintenance task keywords, to titled
procedures, to whole steps, to titled figures, to titled tables, and to
page numbers.
 
Consistent use of &quot;xref&quot; makes updating and revisions more manageable.
Items to be referenced must have their IDREF &quot;typed&quot; by using the
appropriate attribute. 

&quot;WPID&quot; is the mother attribute; if a reference occurs in a work package
other than the current one, a &quot;wpid&quot; must be supplied.  

Text surrounding the reference, when in paper form, is inserted through
attributes &quot;pretext&quot; and &quot;posttext,&quot; e.g., &quot;see&quot; and parentheses. The
order of expression shall be: 

pretext?, wpid?, ((taskid, stepstart?, stepend?) | figid | tableid |
logicnodeid | tslocid | pagelocid)+, postext?. 

References to steps or to logic nodes and other troubleshooting
locations must also include a reference to either a work package (if
different than current location) or a task (if different than the
current location within the same WP). If a single step is being
referenced, use &quot;stepstart&quot; only (&quot;stepend&quot; will be assumed to be
identical); if a range of steps is being referenced, supply both
&quot;stepstart&quot; and &quot;stepend&quot; values. Only first-level steps can be
referenced, since only they carry a unique identifier. 
The specific attributes for data types will enable transformations from
Hytime clinks to ilinks in the future. 
--&gt;

This is the extref.  Note the use of CDATA.

!-- following attributes will allow transformations to ilinks in
future; FOSI currently supports &quot;wpid&quot; only --&gt;

&lt;!ELEMENT extref EMPTY&gt;
&lt;!ATTLIST extref  docno    CDATA  #IMPLIED
                    revno    CDATA  #IMPLIED
                    pretext  CDATA  #IMPLIED
                    posttext CDATA  #IMPLIED
                    wpid     CDATA  #IMPLIED
                    taskid   CDATA  #IMPLIED
                    figid    CDATA  #IMPLIED
                    tableid  CDATA  #IMPLIED
                    partid   CDATA  #IMPLIED....

&lt;!-- 
This element and its attributes are for references to other documents
and locations within those documents. Note that the writer may have to
supply a value for revision level of the document being referenced. Text
surrounding the reference, when in paper form, is inserted through
attributes &quot;pretext&quot; and &quot;posttext,&quot; e.g., &quot;see&quot; and parentheses; the
type of content, 
such as TS object, supporting information, table or other object, can be
inserted through &quot;pretext.&quot; 
--&gt;

len

-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:Pe&#x74;&#101;r&#x2e;R&#117;shf&#x6f;rth&#x40;&#78;&#82;&#x43;&#97;n-&#82;&#78;C&#x61;&#110;.&#x67;c&#46;c&#97;">mailto:Pe&#x74;&#101;r&#x2e;R&#117;shf&#x6f;rth&#x40;&#78;&#82;&#x43;&#97;n-&#82;&#78;C&#x61;&#110;.&#x67;c&#46;c&#97;</A>] 
Sent: Tuesday, April 17, 2012 7:05 AM
To: Len Bullard
Cc: x&#x6d;&#x6c;-&#100;ev&#64;li&#115;t&#115;&#46;&#x78;&#x6d;&#x6c;.o&#114;&#x67;
Subject: RE:  xml:href, xml:rel and xml:type

Hi Len,

The scope for these attributes is web linking.  I can see that there
should
be a strict constraint on what gets put into the xml namespace.  xml
codifies
a very few but very important things. xml:lang, xml:base and a couple of
others.

My point of view on this is that html is &quot;big&quot; because it is static and
shared.  xml needs
a bit of this static shared stuff to make it more amenable to certain
uses.  Goal #1 of XML
was to be simple to use on the web.    To be simple to use,
it needs to have some static, reliably present markup which can be acted
on.

Web crawlers, to take one example, can't crawl xml, because there is no
reliable static
markup to identify links in all xml.  The existence of xml:href solves
that problem.
Unless they are Kreskin crawlers they won't know what to do with the xml
when they find it.
That is what @xml:type is there for.  While application/xml does not
tell you too
much, there are sub sub media types, media type parameters etc to tell
you how
to process the representation once you retrieve it.  Also, it does not
have to be xml :-).

Finally, applications which use xml on the web need a way to decide /
let the
client decide what state is the next state for the client.  That is what
@xml:rel 
is for.

How is this different from xlink?  For one thing, it is static shared
markup that
can be reliably used by the entire community.  For another, xlink:type
and xml:type are
different. xlink:type describes the processing of the link, while
xml:type advertises
the media type that may be negotiable from the server (no guarantees,
after all its
the server's resource). 

Why is xml:lang needed for xml itself?  or xml:base for that matter?
Why is linking less important?

Cheers,
Peter

&gt; -----Original Message-----
&gt; From: Len Bullard [<A  HREF="mailto:&#99;b&#x75;lla&#114;&#100;&#64;h&#105;&#x77;&#x61;a&#121;&#46;net">mailto:&#99;b&#x75;lla&#114;&#100;&#64;h&#105;&#x77;&#x61;a&#121;&#46;net</A>] 
&gt; Sent: April 16, 2012 21:03
&gt; To: Rushforth, Peter; 'Simon St.Laurent'
&gt; Cc: &#108;iam&#x40;&#x77;3&#x2e;o&#114;&#x67;; xml-dev@l...
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; Not to worry, Peter.  We've practiced. :)
&gt; 
&gt; Essentially, xml:href adds application semantics to the XML 
&gt; specification.
&gt; XML abhors application semantics in its specification.  Adding those
&gt; violates the simplicity constraint.   Application 
&gt; specifications are free to
&gt; do that.  IOW, you are asking the wrong list.  Or maybe not, 
&gt; but the point is, XML doesn't specify XML applications past 
&gt; what is needed for XML itself.
&gt; 
&gt; 
&gt; Functional specifications for inter XML linking are a snap.  
&gt; Functional linking to other media types is built into the web.
&gt; 
&gt; What is the scope for xml:href linking and how does that 
&gt; differ from what is currently possible with previously 
&gt; specified technologies?
&gt; 
&gt; One compelling argument for functionally-spec'd XML is 
&gt; authoring common document type collections, eg, TOCs, typed 
&gt; indices, figure/table
&gt; collections, etc.   Tbese are human cultural notation types.  
&gt; Building those
&gt; into a system for use by humans is never wrong, IMHO.
&gt; 
&gt; len
&gt; 
&gt; 
&gt; 
&gt; -----Original Message-----
&gt; From: Rushforth, Peter [<A  HREF="mailto:&#x50;ete&#114;&#46;&#x52;&#117;&#115;&#x68;f&#x6f;&#x72;&#x74;h&#x40;N&#x52;&#x43;an&#x2d;R&#x4e;C&#x61;n.&#103;c.&#99;&#x61;">mailto:&#x50;ete&#114;&#46;&#x52;&#117;&#115;&#x68;f&#x6f;&#x72;&#x74;h&#x40;N&#x52;&#x43;an&#x2d;R&#x4e;C&#x61;n.&#103;c.&#99;&#x61;</A>]
&gt; Sent: Monday, April 16, 2012 6:55 PM
&gt; To: Len Bullard; Simon St.Laurent
&gt; Cc: &#108;&#x69;&#97;&#x6d;&#64;w3.&#111;rg; xml-dev@l...
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; Not to  preach, but I have always felt that respect for what 
&gt; has been achieved is a good place to start any conversation.
&gt; 
&gt; I am merely asking why some simple steps can't be taken to 
&gt; move the yardsticks a bit.  Not any steps:
&gt; the steps I am proposing.
&gt; 
&gt; Cheers,
&gt; Peter
&gt; ________________________________________
&gt; From: Len Bullard [Le&#x6e;.B&#x75;&#x6c;&#108;ar&#x64;&#64;ses-i&#46;com]
&gt; Sent: April 16, 2012 4:36 PM
&gt; To: Simon St.Laurent; Rushforth, Peter
&gt; Cc: l&#105;&#x61;m&#64;&#x77;&#x33;.o&#x72;&#103;; xml-dev@l...
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; And so it begins.
&gt; 
&gt; The early HTML people disdained SGML as overbuilt and too 
&gt; hard to understand because they had yet to understand how and 
&gt; why it worked for the applications to which it had been 
&gt; applied.  The SGML people returned the disdain but helped them anyway.
&gt; 
&gt; Some decades on, as predicted, attempts to reinvent the early 
&gt; work on hypertext by the SGML community that evolved into the 
&gt; XML community continue.  At this point, everyone shares A 
&gt; working system so those
&gt; attempts have yet to produce a compelling case.   It is somewhat as if
&gt; once shown that a Ford A-model could double as a truck, no 
&gt; one needed anything better.  Cab heat would be nice but who 
&gt; wants to put the fur traders out of business?
&gt; 
&gt; Why no xml:href?   How many systems does it take to change a 
&gt; light bulb?
&gt; No one cares while the bulb is lit.
&gt; 
&gt; Why bolt a function-type system onto a syntax standard?  
&gt; (Linking is a process; not data).
&gt; 
&gt; len
&gt; 
&gt; -----Original Message-----
&gt; From: Simon St.Laurent [<A  HREF="mailto:&#x73;im&#x6f;nst&#x6c;&#x40;&#115;i&#x6d;&#x6f;&#x6e;stl.com">mailto:&#x73;im&#x6f;nst&#x6c;&#x40;&#115;i&#x6d;&#x6f;&#x6e;stl.com</A>]
&gt; Sent: Monday, April 16, 2012 3:15 PM
&gt; To: Rushforth, Peter
&gt; Cc: li&#97;m&#64;&#x77;&#51;.&#111;&#114;&#103;; xml-dev@l...
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; 
&gt; The early XML folks may have found HTML to be not what they 
&gt; wanted, and seriously lacking in many respects, and the 
&gt; people driving the HTML conversation today return the disdain
&gt; 
&gt; 
&gt; What a misfire!
&gt; 
&gt; 
&gt; ______________________________________________________________
&gt; _________
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by 
&gt; OASIS to support XML implementation and development. To 
&gt; minimize spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#x78;&#109;&#108;-dev-&#x75;&#x6e;&#x73;ubs&#99;&#114;i&#x62;e&#x40;&#108;is&#116;s&#x2e;xm&#108;.or&#103;
&gt; subscribe: xm&#108;-de&#118;-s&#x75;b&#115;crib&#x65;&#x40;l&#x69;&#x73;ts.x&#x6d;l&#46;&#111;&#x72;g List archive: 
&gt; http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 
&gt; 
&gt; 
_______________________________________________________________________

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: x&#x6d;&#x6c;&#x2d;d&#x65;v&#45;un&#x73;&#117;bs&#x63;&#114;i&#x62;&#x65;&#64;&#108;i&#x73;t&#x73;.&#x78;&#x6d;l&#46;o&#x72;g
subscribe: x&#x6d;l-d&#101;&#118;-su&#98;s&#99;r&#x69;&#x62;e&#64;&#x6c;&#x69;s&#116;&#x73;&#x2e;xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00060.html</link><pubDate>Tue, 17 Apr 2012 08:48:34 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Not to  preach, but I have always felt that respect for what has been achieved is a good place to start any conversation.

I am merely asking why some simple steps can't be taken to move the yardsticks a bit.  Not any steps:
the steps I am proposing.

Cheers,
Peter
________________________________________
From: Len Bullard [&#76;&#101;n&#46;B&#x75;&#x6c;&#x6c;&#97;&#114;&#100;&#64;se&#x73;&#45;&#x69;&#x2e;c&#111;&#109;]
Sent: April 16, 2012 4:36 PM
To: Simon St.Laurent; Rushforth, Peter
Cc: l&#105;&#x61;&#109;&#x40;&#x77;3&#x2e;o&#x72;&#103;; xml-dev@l...
Subject: RE:  xml:href, xml:rel and xml:type

And so it begins.

The early HTML people disdained SGML as overbuilt and too hard to
understand because they had yet to understand how and why it worked for
the applications to which it had been applied.  The SGML people returned
the disdain but helped them anyway.

Some decades on, as predicted, attempts to reinvent the early work on
hypertext by the SGML community that evolved into the XML community
continue.  At this point, everyone shares A working system so those
attempts have yet to produce a compelling case.   It is somewhat as if
once shown that a Ford A-model could double as a truck, no one needed
anything better.  Cab heat would be nice but who wants to put the fur
traders out of business?

Why no xml:href?   How many systems does it take to change a light bulb?
No one cares while the bulb is lit.

Why bolt a function-type system onto a syntax standard?  (Linking is a
process; not data).

len

-----Original Message-----
From: Simon St.Laurent [<A  HREF="mailto:&#115;i&#x6d;&#x6f;&#110;&#x73;t&#108;&#x40;si&#x6d;o&#x6e;stl.&#99;&#x6f;m">mailto:&#115;i&#x6d;&#x6f;&#110;&#x73;t&#108;&#x40;si&#x6d;o&#x6e;stl.&#99;&#x6f;m</A>]
Sent: Monday, April 16, 2012 3:15 PM
To: Rushforth, Peter
Cc: l&#105;a&#x6d;&#x40;w3.o&#x72;g; xml-dev@l...
Subject: Re:  xml:href, xml:rel and xml:type


The early XML folks may have found HTML to be not what they wanted, and
seriously lacking in many respects, and the people driving the HTML
conversation today return the disdain


What a misfire!

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70050.html</link><pubDate>Mon, 16 Apr 2012 23:55:18 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
 &gt;XML on the web is difficult, so I would say XML has fallen short of 
this goal in at least one respect: it's not a hypermedia format.

It's not an EDI standard either, or a format for mail archives, or a 
format for publishing scientific articles, or sheet music, or browser 
history files, or resumes, or calendars, or museum catalogs, or 
insurance policies, or mapping data. Instead, it's a notation for 
defining all of these. It's a syntax that allows you to layer your own 
vocabulary on top. Hypermedia formats, like all these other things, 
belong in the layer on top.

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30050.html</link><pubDate>Mon, 16 Apr 2012 20:53:04 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Not to worry, Peter.  We've practiced. :)

Essentially, xml:href adds application semantics to the XML specification.
XML abhors application semantics in its specification.  Adding those
violates the simplicity constraint.   Application specifications are free to
do that.  IOW, you are asking the wrong list.  Or maybe not, but the point
is, XML doesn't specify XML applications past what is needed for XML itself.


Functional specifications for inter XML linking are a snap.  Functional
linking to other media types is built into the web.

What is the scope for xml:href linking and how does that differ from what is
currently possible with previously specified technologies?

One compelling argument for functionally-spec'd XML is authoring common
document type collections, eg, TOCs, typed indices, figure/table
collections, etc.   Tbese are human cultural notation types.  Building those
into a system for use by humans is never wrong, IMHO.

len



-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:&#x50;e&#116;e&#x72;&#x2e;Rush&#102;or&#116;&#104;&#x40;NRC&#x61;&#110;&#x2d;&#82;&#x4e;C&#97;n&#x2e;gc&#x2e;c&#x61;">mailto:&#x50;e&#116;e&#x72;&#x2e;Rush&#102;or&#116;&#104;&#x40;NRC&#x61;&#110;&#x2d;&#82;&#x4e;C&#97;n&#x2e;gc&#x2e;c&#x61;</A>] 
Sent: Monday, April 16, 2012 6:55 PM
To: Len Bullard; Simon St.Laurent
Cc: l&#x69;&#97;m&#64;w&#51;.or&#103;; xml-dev@l...
Subject: RE:  xml:href, xml:rel and xml:type

Not to  preach, but I have always felt that respect for what has been
achieved is a good place to start any conversation.

I am merely asking why some simple steps can't be taken to move the
yardsticks a bit.  Not any steps:
the steps I am proposing.

Cheers,
Peter
________________________________________
From: Len Bullard [&#x4c;en&#x2e;&#66;&#117;ll&#x61;rd&#64;s&#101;s-i&#46;co&#109;]
Sent: April 16, 2012 4:36 PM
To: Simon St.Laurent; Rushforth, Peter
Cc: &#108;&#105;&#x61;m&#x40;w3&#x2e;&#111;&#114;g; xml-dev@l...
Subject: RE:  xml:href, xml:rel and xml:type

And so it begins.

The early HTML people disdained SGML as overbuilt and too hard to
understand because they had yet to understand how and why it worked for
the applications to which it had been applied.  The SGML people returned
the disdain but helped them anyway.

Some decades on, as predicted, attempts to reinvent the early work on
hypertext by the SGML community that evolved into the XML community
continue.  At this point, everyone shares A working system so those
attempts have yet to produce a compelling case.   It is somewhat as if
once shown that a Ford A-model could double as a truck, no one needed
anything better.  Cab heat would be nice but who wants to put the fur
traders out of business?

Why no xml:href?   How many systems does it take to change a light bulb?
No one cares while the bulb is lit.

Why bolt a function-type system onto a syntax standard?  (Linking is a
process; not data).

len

-----Original Message-----
From: Simon St.Laurent [<A  HREF="mailto:&#115;&#x69;&#109;&#111;n&#115;&#x74;l&#64;&#x73;&#105;m&#x6f;&#x6e;&#x73;tl&#46;&#99;om">mailto:&#115;&#x69;&#109;&#111;n&#115;&#x74;l&#64;&#x73;&#105;m&#x6f;&#x6e;&#x73;tl&#46;&#99;om</A>]
Sent: Monday, April 16, 2012 3:15 PM
To: Rushforth, Peter
Cc: li&#97;&#109;&#64;&#119;3&#46;&#x6f;rg; xml-dev@l...
Subject: Re:  xml:href, xml:rel and xml:type


The early XML folks may have found HTML to be not what they wanted, and
seriously lacking in many respects, and the people driving the HTML
conversation today return the disdain


What a misfire!


_______________________________________________________________________

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-d&#101;&#118;&#x2d;u&#x6e;s&#117;&#98;&#115;&#99;&#114;ibe&#64;&#108;&#x69;s&#116;&#115;.xm&#x6c;&#46;or&#103;
subscribe: xml&#45;de&#x76;-&#115;u&#98;&#115;&#x63;&#x72;ib&#101;&#x40;l&#x69;s&#116;&#115;&#46;xm&#x6c;&#x2e;&#x6f;r&#x67;
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80050.html</link><pubDate>Mon, 16 Apr 2012 20:02:34 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Liam,

&gt; The goal was to put SGML on the Web. It was difficult to use 
&gt; SGML on the Web at the time. 

XML on the web is difficult, so I would say XML has fallen short of this
goal in at least one respect:  it's not a hypermedia format.  You don't have to get 100%
on the exam to be a success, so I'm not saying XML is a failure, but there's room for improvement.  

&gt; The goal was not to replace HTML.
Which has a different goal than XML, obviously.

&gt; 
&gt; Peter - the short answer is that painting the railway engine 
&gt; green won't make more people travel by train. There's no 
&gt; single magic bullet. 

Fair enough.  Making XML into a hypermedia format involves more than links anyway.
But, if the base format does not have links, then only formats which derive from 
a format in the (derivation) tree which defines links will have links.  So the only formats
to have links in XML are those which use xlink.  Does XForms use xlink?  I'm not
saying it should, but to leverage software libraries which do implement links,
it might want to.

&gt; There are barriers that could be lowered 
&gt; a little, but there also has to be incentive, you have to 
&gt; offer things that people already know they want.

I'm interpreting the paucity of support for xlink in XML clients to mean that
there is an unfulfilled need at the XML level.  That's just my interpretation
of course. 

&gt; 
&gt; For trains, it's a perception of a frequent and fast service 
&gt; with no need to book a seat.
&gt; 
&gt; For computer formats it's making something easier than what 
&gt; people currently do - not equally easy, but easier. 

Good point.  

Regarding xml:href, xml:rel and xml:type :

0) XML is not a hypermedia format - it needs links at a minimum to get up to that bar -
1) The XML namespace and its prefix are hardwired onto xml, and so offer an appealing point of entry for the sake of simplicity
2) Information models which don't specifically exclude such attributes appear to allow them
3) They don't prevent use of any other XML construct, as far as I can tell, including xlink.
4) &quot;xml:type&quot; has no equivalent in xlink - no typed links.  I think same for &quot;xml:hreflang&quot;.  These aspects support the &quot;Web&quot; (REST) (I think).

Obvious continuing need to crowd-source the benefits and potential barriers. :-)


&gt; &gt; &gt; If &quot;mastery of the Web&quot; _had_ been a goal, XML would have 
&gt; been very 
&gt; &gt; &gt; different, as Jeni Tennyson pointed out in her keynote at 
&gt; XML Prague 
&gt; &gt; &gt; this year.
&gt; 
&gt; I apologise to Jeni for the typo in &quot;Tennison&quot;.
&gt; 
&gt; &gt; Yes, I saw the video, but I forget this specific point.  
&gt; Did she say 
&gt; &gt; how it would have been different?
&gt; 
&gt;   ``What might have been is an abstraction
&gt;     Remaining a perpetual possibility
&gt;     Only in a world of speculation.
&gt;     What might have been and what has been
&gt;     Point to one end, which is always present.''

:-)

Cheers,
Peter
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20050.html</link><pubDate>Mon, 16 Apr 2012 19:22:16 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>

&gt;&gt; If that's the case, then I'm sceptical about
&gt;&gt; whether this information belongs in the XML.
&gt; Why are you sceptical?
&gt;
Remember third normal form?

My postcode is RG4 7BS. That's a relationship, between me and where I 
live. If I want to record my postcode in an XML data file, that is the 
way I should record it. If someone wants to use that fact to get 
information about that postcode from a web service provide by the UK 
Post Office, or the Ordnance Survey, or Google, that's a matter for the 
user of the data and/or the application. The address of the web service 
and the domain name of its provider doesn't need to be stored 
redundantly with every postcode. To do so is simply bad normalization; 
and it violates the objectives of normalization, which is to maximize 
potential for change. If the application decides to get its information 
about postcodes from Google rather than from the PostOffice, why should 
that mean changing the address data for every customer?

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90040.html</link><pubDate>Mon, 16 Apr 2012 18:03:45 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 16 April 2012 15:41, Rushforth, Peter
&lt;Pet&#101;r.&#82;ushfo&#x72;th&#x40;&#x6e;r&#99;&#97;n&#45;&#114;&#x6e;&#99;&#x61;&#110;&#x2e;gc.&#x63;a&gt; wrote:

&gt;&gt; However, I think
&gt;&gt; the first reaction was to point you towards XLink and XPointer.
&gt;
&gt; Yes, others have pointed that out. Â I'm thinking about RESTful use of
&gt; XML. Â REST is the basis on which the Web's protocol is designed.
&gt; &quot;typed&quot; links are a fundamental part of REST, I think.
&gt;
&gt; So, my question is, what is the simplest change that could be made
&gt; to XML which would enable its &quot;success&quot; on the web? Â My suggestion
&gt; is to insert linking lower down in the XML technology stack than
&gt; what is done by XLink.

I'd encourage you (if you haven't already) to dip into the 1000s of
messages and posts that have been written about XHTML 'vs' non-XML
HTML (HTML5, WHATWG, etc.).

Most of the fire in those exchanges wasn't about linking notations,
but rather around XML's alleged brittleness vs HTML's support for more
lax, tag-soup parsing when the content is partly broken. A preference
amongst Web developers for JSON rather than XML, and Javascript rather
than XQuery/XSLT, is also part of the mix.

http://blog.jclark.com/2010/11/xml-vs-web_24.html and
http://norman.walsh.name/2010/11/17/deprecatingXML give some flavour
of that discussion. Or http://annevankesteren.nl/2007/10/xml5

cheers,

Dan
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50040.html</link><pubDate>Mon, 16 Apr 2012 17:40:08 GMT</pubDate></item><item><title>XML &amp;quot;Web&amp;quot; services (was: RE:  xml:href, xml:rel andxml:type)</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Dan,

I forked the thread because I think it stands apart from the original topic.

&gt; I'd encourage you (if you haven't already) to dip into the 
&gt; 1000s of messages and posts that have been written about 
&gt; XHTML 'vs' non-XML HTML (HTML5, WHATWG, etc.).
&gt; 

Thanks for the reminders.  I especially liked James' post, which I read
some time ago and re-read just now.

His description is very accurate (would you expect anything less!).

I also believe that there is a need for bridges to be built between the Web
and XML, which follow simple, yet dare I say, hard-wired patterns.

The value of doing so is described in James' post:

&quot;This is not a good thing for either community (and it's why part of my reaction to JSON is &quot;Sigh&quot;). XML misses out by not having the innovation, enthusiasm and traction that the Web developer community brings with it, and the Web developer community misses out by not being able to take advantage of the powerful and convenient technologies that have been built on top of XML over the last decade.&quot;

The way forward is also suggested:

&quot;In the short-term, I think the challenge is how to make HTML5 play more nicely with XML. In the longer term, I think the challenge is how to use our collective experience from building the XML stack to create technologies that work natively with HTML, JSON and JavaScript, and that bring to the broader Web developer community some of the good aspects of the modern XML development experience.&quot;


&gt; Most of the fire in those exchanges wasn't about linking 
&gt; notations, but rather around XML's alleged brittleness vs 
&gt; HTML's support for more lax, tag-soup parsing when the 
&gt; content is partly broken.


In terms of &quot;playing nicely with XML&quot;, I like atompub because it could be a bridge
from presentation markup to data markup (by URI reference, what else ;-).  HTML5 could (in theory) have tags 
(as yet non-existent, I'm just saying) which require feeds for content, basically anything 
that is &quot;a collection of members&quot; could be subject to such markup.

It does not constrain the MIME media type to application/atom+xml - 
content negotiation allows the server to deliver application/json, 
application/gml+xml, application/etc if demanded.  But application/atom+xml
is the &quot;hard-wired&quot; reliable value.  A big part of the value is the
hard-wiredness of it.  

The simple resource model (Collection + Member) together with the simple
representation model (feed + entry) seem abstract enough to have generality
yet hard-wired enough to have simplicity.  The value of the atom format
is that it seems &quot;widely&quot; understood, also slightly hard-wired. Even some 
web browsers seem to vaguely know of atom format, if not the MIME media type.  
I stress vaguely.

While this may seem like an &quot;envelope&quot; to some, I agree, but because
of content negotiation, a client does not need to deal with the envelope 
part if the service supports a more appropriate media type for it. HTML is
an unlikely candidate for that service because the of the presentation 
semantics.  

To bring the topic back to @xml:href, @xml:rel and @xml:type, maybe those are the
means to directly &quot;web-enable&quot; non-atom XML-based formats with some judicious hard-wiring.
Even if atom becomes the spoken dialect between clients and web services, 
there will still be a need for non-HTML hypertext within the atom envelopes.

Cheers,
Peter
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00050.html</link><pubDate>Mon, 16 Apr 2012 17:05:17 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>

&gt; I'm not suggesting that.  I'm suggesting @xml:rel as a way of capturing
&gt; the name of the relationships:
&gt;
&gt; &lt;factory xml:href=&quot;http://example.com/willy-wonkas-chocolate-factory/location&quot; xml:rel=&quot;location&quot; xml:type=&quot;application/xml&quot;&gt;
&gt; &lt;name&gt;Willy Wonka's Chocolate Factory&lt;/name&gt;
&gt; &lt;products&gt;
&gt; &lt;product xml:href=&quot;&quot;http://example.com/willy-wonkas-products/wonka-bar&quot; xml:rel=&quot;describedby&quot; xml:type=&quot;application/xml&quot;&gt;&lt;name&gt;Wonka Bar&lt;/name&gt;
&gt; &lt;/products&gt;
&gt; &lt;/factory
&gt;
Are these href values URIs or URLs? I get the impression, because you're 
talking about REST, that they can be dereferenced. If that's the case, 
then I'm sceptical about whether this information belongs in the XML. 
The identity of a product is not the same as the address of a web 
service that can provide information about the product. There's too much 
muddling of layers going on here. The application should get information 
about products by combining two pieces of information: knowledge of the 
product's identifier, and knowledge of a service that provides 
trustworthy information about products. I don't think it's right to 
bundle those two things inseparably together.

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60040.html</link><pubDate>Mon, 16 Apr 2012 16:43:26 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Mike,

&gt; &gt; I'm not suggesting that.  I'm suggesting @xml:rel as a way of 
&gt; &gt; capturing the name of the relationships:
&gt; &gt;
&gt; &gt; &lt;factory 
&gt; &gt; 
&gt; xml:href=&quot;http://example.com/willy-wonkas-chocolate-factory/location&quot; 
&gt; &gt; xml:rel=&quot;location&quot; xml:type=&quot;application/xml&quot;&gt; &lt;name&gt;Willy Wonka's 
&gt; &gt; Chocolate Factory&lt;/name&gt; &lt;products&gt; &lt;product 
&gt; &gt; xml:href=&quot;&quot;http://example.com/willy-wonkas-products/wonka-bar&quot; 
&gt; &gt; xml:rel=&quot;describedby&quot; xml:type=&quot;application/xml&quot;&gt;&lt;name&gt;Wonka 
&gt; &gt; Bar&lt;/name&gt; &lt;/products&gt; &lt;/factory
&gt; &gt;
&gt; Are these href values URIs or URLs? I get the impression, 
&gt; because you're talking about REST, that they can be 
&gt; dereferenced. 

Yes they can be dereferenced.

&gt; If that's the case, then I'm sceptical about 
&gt; whether this information belongs in the XML. 

Why are you sceptical?

&gt; The identity of a product is not the same as the address of a 
&gt; web service that can provide information about the product.
&gt; There's too much muddling of layers going on here. The 
&gt; application should get information about products by 
&gt; combining two pieces of information: knowledge of the 
&gt; product's identifier, and knowledge of a service that 
&gt; provides trustworthy information about products. I don't 
&gt; think it's right to bundle those two things inseparably together.

I completely agree.  xml:href is a URI that is meant to be
dereferenced, if desired by the client.

I did not show a factory or product identifier, perhaps as an oversight, but
more so as to not talk about them.

Cheers,
Peter</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70040.html</link><pubDate>Mon, 16 Apr 2012 16:27:53 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 4/16/12 3:22 PM, Rushforth, Peter wrote:
&gt; Hi Liam,
&gt;
&gt;&gt; The goal was to put SGML on the Web. It was difficult to use SGML
&gt;&gt; on the Web at the time.
&gt;
&gt; XML on the web is difficult, so I would say XML has fallen short of
&gt; this goal in at least one respect:  it's not a hypermedia format.
&gt; You don't have to get 100% on the exam to be a success, so I'm not
&gt; saying XML is a failure, but there's room for improvement.

You're being kind.  XML failed in its original mission, and its original 
set of markup, style, and linking didn't work out.

XML failed.  It failed in the spectacular way that led to all kinds of 
other successes.  It didn't change the Web the way it planned, but it 
made people reevaluate practically everything they were doing.

After a few missteps into RPC, XML made REST (and now RESTful 
hypermedia, though rarely XLinked) plausible at a time when people 
couldn't imagine how something so simple-minded might work.  After a few 
battles with relational database purists, XML made it clear that more 
chaotic structures had a place in data interchange and I suspect freed 
things up enough for the NoSQL movement to find traction.

In its document homeland, XML's simplifications made it easier for 
markup-based toolchains to thrive and grow, enabling ever more content 
to be processed more flexibly.

The early XML folks may have found HTML to be not what they wanted, and 
seriously lacking in many respects, and the people driving the HTML 
conversation today return the disdain.  XLink and XPointer have 
statistically insignificant user bases, so clearly something misfired.

What a misfire!

Thanks,
-- 
Simon St.Laurent
http://simonstl.com/
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50050.html</link><pubDate>Mon, 16 Apr 2012 16:15:02 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
And so it begins.

The early HTML people disdained SGML as overbuilt and too hard to
understand because they had yet to understand how and why it worked for
the applications to which it had been applied.  The SGML people returned
the disdain but helped them anyway.

Some decades on, as predicted, attempts to reinvent the early work on
hypertext by the SGML community that evolved into the XML community
continue.  At this point, everyone shares A working system so those
attempts have yet to produce a compelling case.   It is somewhat as if
once shown that a Ford A-model could double as a truck, no one needed
anything better.  Cab heat would be nice but who wants to put the fur
traders out of business?

Why no xml:href?   How many systems does it take to change a light bulb?
No one cares while the bulb is lit.

Why bolt a function-type system onto a syntax standard?  (Linking is a
process; not data).

len

-----Original Message-----
From: Simon St.Laurent [<A  HREF="mailto:&#115;&#105;&#109;&#111;&#110;stl&#64;&#x73;&#x69;&#109;o&#x6e;s&#x74;&#108;.&#99;o&#x6d;">mailto:&#115;&#105;&#109;&#111;&#110;stl&#64;&#x73;&#x69;&#109;o&#x6e;s&#x74;&#108;.&#99;o&#x6d;</A>] 
Sent: Monday, April 16, 2012 3:15 PM
To: Rushforth, Peter
Cc: &#x6c;i&#x61;&#109;&#x40;w3.&#x6f;rg; xml-dev@l...
Subject: Re:  xml:href, xml:rel and xml:type


The early XML folks may have found HTML to be not what they wanted, and 
seriously lacking in many respects, and the people driving the HTML 
conversation today return the disdain


What a misfire!

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60050.html</link><pubDate>Mon, 16 Apr 2012 15:36:52 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Len,

&gt; 
&gt; It's a side issue but what relationship is explicit by enclosure?  
&gt; 
&gt; IS-A or HAS-A?
&gt; 
&gt; Seems simple enough but this is where this has fallen apart 
&gt; in the past.
&gt; We think it is a simple, easy to recognize relationship and 
&gt; it turns out what we think we know just ain't so.  
&gt; 
&gt; The evidence only supports HAS-A.

OK, I don't know.  I always thought of it as &quot;I use it any way I
see fit&quot;, but the mechanism is static.  It is the mechanism that
yields some interoperability though.  It's a hard-wired convention.

&gt; 
&gt; A post-2000 discussion of architectural forms reinforces the 
&gt; basic dilemma of web technology:  it is a system attempting 
&gt; to be THE systems of systems and I've no knowledge of any 
&gt; system succeeding at that for
&gt; more than one turn of the wheel.

Sorry. Are you talking about architectural forms, or the web?

&gt;  A lot of nonsense can be avoided by
&gt; saying &quot;We are only spec'ing this for the web.  Full stop.&quot; 
&gt; 
&gt; And then not nudging or winking that the only system of 
&gt; concern for others is the web.  That is the nonsense that 
&gt; defeats separation of concerns.

Is the proposal for xml:href, xml:rel and xml:type is
such a nudge or a wink? _I_ think it's a proposal for a simple hard-wired 
convention, something analogous to the nesting of elements implying a relationship
between whatever those elements are representing.

Cheers,
Peter</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40040.html</link><pubDate>Mon, 16 Apr 2012 15:29:27 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
As dull and tedious and odious as it would be, I suppose someone should
tell without names what the history of SGML/XML is and why it is applied
in all kinds of data storage and retrieval systems including hypermedia
and hypertext.

The point in short is, XML isn't a format.   It is a system,
specifically, a syntax system for creating formats used by other
systems, notably, hypertext systems (depending on what you spec,
hypertext is a superset of hypermedia; one can argue otherwise, but only
by stepping out a level of system abstraction).   It is these layers of
system abstractions and systems applied to create
functionally-delineated systems (Guns A Go Go) that confuse people who
haven't been through the whole nine yards of history in warping the web.

XML is a part/system of a hypermedia system.   HTML is part/system of a
hypertext system.  How many systems does it take to turn on a lightbulb?

BTW: the early SGML hypermedia systems were more like you are looking
for.  This is a case where we went from complex advanced systems to
simple basic systems in order to achieve scale.   A question of some
interest is to explore what aspects of scale were, in the minds of the
designers, unachievable with SGML prior to XML.   But the idea that SGML
cannot be used in large scale open hypermedia systems is false.   That
it hasn't been is historically true.   Separation of concerns is at the
top of the list why that is historically true and true when attempting
to implement all of the systems required by multiple people in multiple
locations working on different projects that share some requirements.
There are also some ego bruising politics but like most politics, they
now only matter to those who were first person shooters at the rodeo.

Forget the abstract notion of relationships for a moment.  How many ways
are there to link into and out of a 

file/entity/blob/database/map/image/video/real-time-3D/bag-o-bits?

Once you tackle that problem, you have an understanding where things
stood in circa 1988/89 when we began to discuss time as well.

len

-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:&#x50;e&#x74;&#101;&#114;.&#82;ush&#x66;orth&#64;&#78;&#x52;&#67;&#97;n&#x2d;RNCan.&#103;&#99;.&#99;&#97;">mailto:&#x50;e&#x74;&#101;&#114;.&#82;ush&#x66;orth&#64;&#78;&#x52;&#67;&#97;n&#x2d;RNCan.&#103;&#99;.&#99;&#97;</A>] 
Sent: Monday, April 16, 2012 2:22 PM
To: &#x6c;iam&#x40;w&#51;.o&#114;g
Cc: x&#x6d;&#108;-d&#x65;v&#64;l&#x69;s&#x74;s.x&#109;l&#x2e;&#x6f;rg
Subject: RE:  xml:href, xml:rel and xml:type

Hi Liam,

&gt; The goal was to put SGML on the Web. It was difficult to use 
&gt; SGML on the Web at the time. 

XML on the web is difficult, so I would say XML has fallen short of this
goal in at least one respect:  it's not a hypermedia format.  You don't
have to get 100%
on the exam to be a success, so I'm not saying XML is a failure, but
there's room for improvement.  

&gt; The goal was not to replace HTML.
Which has a different goal than XML, obviously.

&gt; 
&gt; Peter - the short answer is that painting the railway engine 
&gt; green won't make more people travel by train. There's no 
&gt; single magic bullet. 

Fair enough.  Making XML into a hypermedia format involves more than
links anyway.
But, if the base format does not have links, then only formats which
derive from 
a format in the (derivation) tree which defines links will have links.
So the only formats
to have links in XML are those which use xlink.  Does XForms use xlink?
I'm not
saying it should, but to leverage software libraries which do implement
links,
it might want to.

&gt; There are barriers that could be lowered 
&gt; a little, but there also has to be incentive, you have to 
&gt; offer things that people already know they want.

I'm interpreting the paucity of support for xlink in XML clients to mean
that
there is an unfulfilled need at the XML level.  That's just my
interpretation
of course. 

&gt; 
&gt; For trains, it's a perception of a frequent and fast service 
&gt; with no need to book a seat.
&gt; 
&gt; For computer formats it's making something easier than what 
&gt; people currently do - not equally easy, but easier. 

Good point.  

Regarding xml:href, xml:rel and xml:type :

0) XML is not a hypermedia format - it needs links at a minimum to get
up to that bar -
1) The XML namespace and its prefix are hardwired onto xml, and so offer
an appealing point of entry for the sake of simplicity
2) Information models which don't specifically exclude such attributes
appear to allow them
3) They don't prevent use of any other XML construct, as far as I can
tell, including xlink.
4) &quot;xml:type&quot; has no equivalent in xlink - no typed links.  I think same
for &quot;xml:hreflang&quot;.  These aspects support the &quot;Web&quot; (REST) (I think).

Obvious continuing need to crowd-source the benefits and potential
barriers. :-)


&gt; &gt; &gt; If &quot;mastery of the Web&quot; _had_ been a goal, XML would have 
&gt; been very 
&gt; &gt; &gt; different, as Jeni Tennyson pointed out in her keynote at 
&gt; XML Prague 
&gt; &gt; &gt; this year.
&gt; 
&gt; I apologise to Jeni for the typo in &quot;Tennison&quot;.
&gt; 
&gt; &gt; Yes, I saw the video, but I forget this specific point.  
&gt; Did she say 
&gt; &gt; how it would have been different?
&gt; 
&gt;   ``What might have been is an abstraction
&gt;     Remaining a perpetual possibility
&gt;     Only in a world of speculation.
&gt;     What might have been and what has been
&gt;     Point to one end, which is always present.''

:-)

Cheers,
Peter

_______________________________________________________________________

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: &#120;&#109;l-d&#x65;&#x76;&#x2d;&#x75;n&#x73;&#x75;bs&#x63;ribe&#64;&#108;is&#116;&#x73;&#46;xml&#46;&#111;&#114;g
subscribe: x&#109;&#x6c;-&#x64;&#101;v&#45;s&#117;&#98;&#x73;&#99;&#114;&#105;be&#x40;&#x6c;&#x69;s&#116;&#115;.xm&#x6c;.o&#x72;&#x67;
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40050.html</link><pubDate>Mon, 16 Apr 2012 15:14:03 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Mike,

&gt; 
&gt; 
&gt; On 13/04/2012 13:36, Rushforth, Peter wrote:
&gt; &gt;
&gt; &gt;
&gt; &gt; I am interested in RESTful applications, and in thinking about the 
&gt; &gt; space, I have come to think that XML, while wonderful for creating 
&gt; &gt; your own domain specific vocabulary, also suffers from that very 
&gt; &gt; strength:  too many re-inventions of the same thing 
&gt; (because its so easy to reinvent) leads to no 
&gt; standardization/interoperability at all.
&gt; So why reinvent XLink?
&gt; 
&gt; I've always had the view that data models generally consist 
&gt; of objects (elements), attributes, and relationships, and if 
&gt; XML allows you to dream up your own names for your elements 
&gt; and attributes then it should also allow you to use your own 
&gt; name for your relationships. 

One of the ways that XML allows (forces?) us to model a relationship is with 
enclosing elements:

&lt;factory&gt;&lt;name&gt;Willy Wonka's Chocolate Factory&lt;/name&gt;&lt;location&gt;England&lt;/location&gt;&lt;/factory&gt;


&gt; Why should we use the same name 
&gt; for the relationship between a product and its manufacturer 
&gt; as we use for the relationship between a factory and its 
&gt; geographical location?

I'm not suggesting that.  I'm suggesting @xml:rel as a way of capturing
the name of the relationships:

&lt;factory xml:href&quot;http://example.com/willy-wonkas-chocolate-factory/location&quot; xml:rel=&quot;location&quot; xml:type=&quot;application/xml&quot;&gt;
&lt;name&gt;Willy Wonka's Chocolate Factory&lt;/name&gt;
&lt;products&gt;
&lt;product xml:href=&quot;&quot;http://example.com/willy-wonkas-products/wonka-bar&quot; xml:rel=&quot;describedby&quot; xml:type=&quot;application/xml&quot;&gt;&lt;name&gt;Wonka Bar&lt;/name&gt;
&lt;/products&gt;
&lt;/factory

Note that the semantics of &quot;@xml:type&quot; are different from those of xlink:type.

But I don't think you meant that, I think you meant xlink made a mistake, 
don't push xml to do the same thing.

&gt; 
&gt; I think that's why XLink failed, and I don't see any 
&gt; difference in your proposal.

I agree it's a little similar.  But I'm suggesting an 80/20 rule-based tweak to add
hypertext compatible with REST.  

1) no namespace declaration is required.
2) semantics of xml:href, xml:rel and xml:type are defined by external rfcs that work on the web.
3) it's 'inherited' by all of xml, I'm hoping in a backwards-compatible way. I'd like to hear 
what the incompatibilities might be.  I tried a stylesheet on an XML document using these attributes
and they seem to be copied by xsl:copy-of without complaint.  Where else should I look?

&gt; 
&gt; Now, data typing is another matter: it would be nice if 
&gt; attributes containing dates, integers, or URIs were 
&gt; recognizable as such without recourse to a schema. But 
&gt; forcing all URIs to be called xlink:href is as crazy as 
&gt; forcing all dates to be called date.

xml:lang ?  The value of this is in its static name.  Doesn't prevent you
from creating any amount of language-semantics-specific markup in your documents, using
your own nomenclature.

Although I guess that's where xlink ran into trouble, if I interpret David Carlisle's later
email: 

&lt;snip&gt;
Consider xhtml that came under a lot of pressure when it was being designed to use xlink links (which were being designed at the same time) but it would have meant that you could not use &lt;img src=&quot;foo&quot;/&gt; it would have to be &lt;img xlink:href=&quot;foo&quot; xlinl:type=&quot;simple&quot; xlink:show=&quot;embed&quot;/&gt; You could not go &lt;a href=&quot;bar.html&quot;&gt;.. had to go &lt;a xlink:href=&quot;bar.html&quot; type=&quot;simple&quot;&gt;...
&lt;/snip&gt;

Seems to me to be forcing the &quot;xml&quot; way of doing things on something that was already workable.
I would not do that, my opinion is there's nothing forcing people to use xml:lang etc, but
when they are built into tools, like xslt and xpath, it does improve the developer experience.

Cheers,
Peter

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20040.html</link><pubDate>Mon, 16 Apr 2012 15:03:47 GMT</pubDate></item><item><title>Re:  three-vowel element names (was Re:  xml:href,xml:</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 16/04/2012 13:21, Mike Sokolov wrote:
 &gt; I'm having some difficulty seeing the value in a rule that would
 &gt; form links for elements with three vowels in their names.  Maybe if
 &gt; you had a better example, the world would flock to implement this?
 &gt; Seriously - what are you on about? Sorry for being dim, but it
 &gt; sounds like it might be interesting, and I just don't get it.

The point is that xlinks major (fatal really) failing is that it forces
attribute names on the vocabularies that use it. (Its bad enough that
xml:id forces a name but the issues are worse with link attributes)


Consider xhtml that came under a lot of pressure when it was being
designed to use xlink links (which were being designed at the same time)
but it would have meant that you could not use &lt;img src=&quot;foo&quot;/&gt; it would
have to be &lt;img xlink:href=&quot;foo&quot; xlinl:type=&quot;simple&quot; xlink:show=&quot;embed&quot;/&gt;
You could not go &lt;a href=&quot;bar.html&quot;&gt;.. had to go &lt;a
xlink:href=&quot;bar.html&quot; type=&quot;simple&quot;&gt;...

architectural forms which pre-dated xlink from SGML had a much more
extensive vocabulary that allowed you to impose linking semantics on
_existing_ markup without the markup having to change.

So you want to be able to say things like

a/href is a normal link, img/@src is an embed link.

But the recognition patterns might need to be more advanced such as
Liam's somewhat extreme example.

David
(I never actually used architectural forms:-)

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90030.html</link><pubDate>Mon, 16 Apr 2012 13:53:32 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Liam,

Thanks for your reply.

&gt; 
&gt; &gt; As I understand it, mastery of the web was a goal of XML, 
&gt; so I'm just 
&gt; &gt; dreaming a little.
&gt; 
&gt; It was not a goal of XML.
&gt; 
&gt; The primary goal of XML was getting existing SGML documents 
&gt; and work-flows onto the Web. The work was originally called Web SGML.

From &quot;http://www.w3.org/TR/xml/#sec-origin-goals&quot;

The design goals for XML are:

1. XML shall be straightforwardly usable over the Internet.

OK, this is not &quot;mastery of the web&quot;, but the Web is an important
application of the internet.  

&gt; Your comment did I think reach the XML Core Working Group; 
&gt; the group meets two or three times a month for half an hour, 
&gt; so don't expect an immediate response :-)

Sorry, I should have posted here in the first place anyway.

&gt; However, I think 
&gt; the first reaction was to point you towards XLink and XPointer.

Yes, others have pointed that out.  I'm thinking about RESTful use of
XML.  REST is the basis on which the Web's protocol is designed.
&quot;typed&quot; links are a fundamental part of REST, I think.
  
So, my question is, what is the simplest change that could be made
to XML which would enable its &quot;success&quot; on the web?  My suggestion
is to insert linking lower down in the XML technology stack than
what is done by XLink.

Others also predicted that my suggestion would not be 'popular'.
I'm OK with that, but I wanted to hear from the technology implementers
of what would break if such a change was made.  
&gt; 
&gt; If &quot;mastery of the Web&quot; _had_ been a goal, XML would have 
&gt; been very different, as Jeni Tennyson pointed out in her 
&gt; keynote at XML Prague this year.

Yes, I saw the video, but I forget this specific point.  Did she say
how it would have been different? 

&gt; To answer a more explicit question (from a personal 
&gt; perspective), the cost of introducing xml:href would be 
&gt; risking breaking existing XML systems,

I've tried putting these
attributes on XML source and running XSLT against them, no
obvious problems.  I found no support for XLink in my XML IDE. 

&gt; which are far more 
&gt; likely to work with xlink:href. 

I know there are vocabulary standards which use xlink.  Of course that
means there are processors which use it too.  I think that if you need
the power of describing links semantically etc, you should use it.  But
not everyone needs this power.  For that matter, one is not obliged to
use XLink, you can &quot;roll your own&quot; linking scheme, which your own processors
can leverage.

&gt; And there's no clear benefit.

OK, I think there is.  I think that having a simple standard that
does not have to be declared by the user would allow linking of XML documents
&quot;on the web&quot;, with design aligned with that of the web, hence xml:type and possibly xml:hreflang.

BTW, I think the JSON community is considering the same problem:
http://www.mnot.net/blog/2011/11/25/linking_in_json


&gt; 
&gt; The biggest problem I see with XLink is that it did not 
&gt; address &quot;link discovery through architectural forms&quot; - the 
&gt; process of saying, &quot;in this XML vocabulary, the &quot;cf&quot; 
&gt; attribute on any element with three vowels in the element 
&gt; name is a link constructed by using the template
&gt;   concat(@cf, &quot;?&quot;, local-name(), &quot;=&quot;, .)

I have been wondering about how to use URI templates in XML:
http://www.rfc-editor.org/rfc/rfc6570.txt

Is this a similar idea?

Cheers,
Peter




</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00040.html</link><pubDate>Mon, 16 Apr 2012 13:41:32 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
People don't remember (because there were none) that the Cambrian Moment
was many millions of years long.

If the W3C puts up policy objections to an official history being
written, remind them that if they don't, someone like me will write it
and put it on the web. ;)

len

-----Original Message-----
From: Liam R E Quin [<A  HREF="mailto:&#108;&#105;a&#109;&#x40;w3&#46;&#x6f;&#114;&#103;">mailto:&#108;&#105;a&#109;&#x40;w3&#46;&#x6f;&#114;&#103;</A>] 
Sent: Monday, April 16, 2012 11:59 AM
To: Rushforth, Peter
Cc: x&#x6d;l&#45;d&#x65;v&#64;&#x6c;is&#116;&#115;.&#x78;&#109;&#x6c;.&#111;rg
Subject: RE:  xml:href, xml:rel and xml:type

On Mon, 2012-04-16 at 13:41 +0000, Rushforth, Peter wrote:

&gt; 1. XML shall be straightforwardly usable over the Internet.
&gt; 
&gt; OK, this is not &quot;mastery of the web&quot;, but the Web is an important
&gt; application of the internet.

The goal was to put SGML on the Web. It was difficult to use SGML on the
Web at the time. The goal was not to replace HTML.

We never expected such widespread adoption. One feature of SGML remained
in the XML spec because we feared we might lose as many as a dozen
existing SGML users if we removed it.

Peter - the short answer is that painting the railway engine green won't
make more people travel by train. There's no single magic bullet. There
are barriers that could be lowered a little, but there also has to be
incentive, you have to offer things that people already know they want.

For trains, it's a perception of a frequent and fast service with no
need to book a seat.

For computer formats it's making something easier than what people
currently do - not equally easy, but easier. There might be some
traction in
&lt;a http://example.org/&gt;...&lt;/a&gt;
for example, but that's not XML.

Grumpy pre-coffee responses follow... :-)

&gt; Yes, others have pointed that out.  I'm thinking about RESTful use of
&gt; XML.  REST is the basis on which the Web's protocol is designed.
&gt; &quot;typed&quot; links are a fundamental part of REST, I think.

It's lucky that XPointer and XLink do not preclude such use then :-)
(and yes, I read Roy's thesis when it was published)

&gt; So, my question is, what is the simplest change that could be made
&gt; to XML which would enable its &quot;success&quot; on the web?

The simplest change is no change - XML is a success and met its goals.

If you mean, get XML used by people in preference to HTML...
* there's no direct way to get JavaScript used in plain XML
* the HTML DOM doesn't deal well with XML namespaces
* CSS doesn't deal well with XML namespaces
* XML cares about syntax errors and so do Web browsers; in principle
  Web browsers are not forbidden from correcting such errors as long as
  they don't claim the input was well-formed XML, but in practice the
  Web developer communities and the XML communities have remained very
  separate and the motivation to improve the XML experience in the
  Web browser is limited.  Namespaces in CSS became a recommendation
  last year, go figure.
 
&gt; I wanted to hear from the technology implementers
&gt; of what would break if such a change was made.

I don't see Web browsers changing for it - they don't support XLink
either.


&gt; &gt; If &quot;mastery of the Web&quot; _had_ been a goal, XML would have 
&gt; &gt; been very different, as Jeni Tennyson pointed out in her 
&gt; &gt; keynote at XML Prague this year.

I apologise to Jeni for the typo in &quot;Tennison&quot;.

&gt; Yes, I saw the video, but I forget this specific point.  Did she say
&gt; how it would have been different?

  ``What might have been is an abstraction
    Remaining a perpetual possibility
    Only in a world of speculation.
    What might have been and what has been
    Point to one end, which is always present.''


&gt; &gt; To answer a more explicit question (from a personal 
&gt; &gt; perspective), the cost of introducing xml:href would be 
&gt; &gt; risking breaking existing XML systems,
&gt; 
&gt; I've tried putting these
&gt; attributes on XML source and running XSLT against them, no
&gt; obvious problems.

Names in the &quot;xml&quot; namespace are reserved, but the specs don't say
exactly what this means.

&gt; I know there are vocabulary standards which use xlink.  Of course that
&gt; means there are processors which use it too.

SVG is an example.

&gt; &gt; The biggest problem I see with XLink is that it did not 
&gt; &gt; address &quot;link discovery through architectural forms&quot; - the 
&gt; &gt; process of saying, &quot;in this XML vocabulary, the &quot;cf&quot; 
&gt; &gt; attribute on any element with three vowels in the element 
&gt; &gt; name is a link constructed by using the template
&gt; &gt;   concat(@cf, &quot;?&quot;, local-name(), &quot;=&quot;, .)
&gt; 
&gt; I have been wondering about how to use URI templates in XML:
&gt; http://www.rfc-editor.org/rfc/rfc6570.txt
&gt; 
&gt; Is this a similar idea?

Almost; here is a concrete example in that spirit:

&lt;?link path=&quot;//person&quot; name=&quot;.&quot; uri=&quot;http://example.org/people/$name&quot; ?&gt;

You'd put this in the DTD (I know, Web browsers don't fetch DTDs because
of the FUD over &quot;billion laughs&quot;, an attack also present in JavaScript,
and HTLM 5 deprecates processing instructions, but go with the flow
here...)

Now &lt;person&gt;daniel&lt;/person&gt; would turn into
http://example.org/people/daniel

and a user agent could traverse the link based on some user action.

In a cooperative world :-) path would be any XPath 3 expression, but
only a few weeks ago I heard Web developers saying &quot;XPath just reinvents
selectors and offers no new functionality, but unlike selectors cannot
be implemented efficiently&quot; and with reasoning like that we've got a
long way to go.

I don't actually mean to be defeatist - it's a long road but a number of
people (including me) are trying to walk it, one step at a time, despite
the thorns in the path.

It took a decade for the Web developer world to adopt CSS. Now there's a
movement for people to be able to define their own elements in HTML. The
concepts are slowly coming.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/


_______________________________________________________________________

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: &#120;ml-dev-&#x75;nsu&#x62;s&#99;&#x72;i&#x62;e&#64;&#108;is&#x74;&#115;&#46;x&#x6d;l&#x2e;&#111;&#114;g
subscribe: x&#x6d;&#108;&#45;d&#101;v-s&#117;&#98;scrib&#x65;&#64;l&#x69;s&#116;&#x73;&#46;&#120;&#x6d;l&#46;org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10050.html</link><pubDate>Mon, 16 Apr 2012 13:17:29 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Mon, 2012-04-16 at 13:41 +0000, Rushforth, Peter wrote:

&gt; 1. XML shall be straightforwardly usable over the Internet.
&gt; 
&gt; OK, this is not &quot;mastery of the web&quot;, but the Web is an important
&gt; application of the internet.

The goal was to put SGML on the Web. It was difficult to use SGML on the
Web at the time. The goal was not to replace HTML.

We never expected such widespread adoption. One feature of SGML remained
in the XML spec because we feared we might lose as many as a dozen
existing SGML users if we removed it.

Peter - the short answer is that painting the railway engine green won't
make more people travel by train. There's no single magic bullet. There
are barriers that could be lowered a little, but there also has to be
incentive, you have to offer things that people already know they want.

For trains, it's a perception of a frequent and fast service with no
need to book a seat.

For computer formats it's making something easier than what people
currently do - not equally easy, but easier. There might be some
traction in
&lt;a http://example.org/&gt;...&lt;/a&gt;
for example, but that's not XML.

Grumpy pre-coffee responses follow... :-)

&gt; Yes, others have pointed that out.  I'm thinking about RESTful use of
&gt; XML.  REST is the basis on which the Web's protocol is designed.
&gt; &quot;typed&quot; links are a fundamental part of REST, I think.

It's lucky that XPointer and XLink do not preclude such use then :-)
(and yes, I read Roy's thesis when it was published)

&gt; So, my question is, what is the simplest change that could be made
&gt; to XML which would enable its &quot;success&quot; on the web?

The simplest change is no change - XML is a success and met its goals.

If you mean, get XML used by people in preference to HTML...
* there's no direct way to get JavaScript used in plain XML
* the HTML DOM doesn't deal well with XML namespaces
* CSS doesn't deal well with XML namespaces
* XML cares about syntax errors and so do Web browsers; in principle
  Web browsers are not forbidden from correcting such errors as long as
  they don't claim the input was well-formed XML, but in practice the
  Web developer communities and the XML communities have remained very
  separate and the motivation to improve the XML experience in the
  Web browser is limited.  Namespaces in CSS became a recommendation
  last year, go figure.
 
&gt; I wanted to hear from the technology implementers
&gt; of what would break if such a change was made.

I don't see Web browsers changing for it - they don't support XLink
either.


&gt; &gt; If &quot;mastery of the Web&quot; _had_ been a goal, XML would have 
&gt; &gt; been very different, as Jeni Tennyson pointed out in her 
&gt; &gt; keynote at XML Prague this year.

I apologise to Jeni for the typo in &quot;Tennison&quot;.

&gt; Yes, I saw the video, but I forget this specific point.  Did she say
&gt; how it would have been different?

  ``What might have been is an abstraction
    Remaining a perpetual possibility
    Only in a world of speculation.
    What might have been and what has been
    Point to one end, which is always present.''


&gt; &gt; To answer a more explicit question (from a personal 
&gt; &gt; perspective), the cost of introducing xml:href would be 
&gt; &gt; risking breaking existing XML systems,
&gt; 
&gt; I've tried putting these
&gt; attributes on XML source and running XSLT against them, no
&gt; obvious problems.

Names in the &quot;xml&quot; namespace are reserved, but the specs don't say
exactly what this means.

&gt; I know there are vocabulary standards which use xlink.  Of course that
&gt; means there are processors which use it too.

SVG is an example.

&gt; &gt; The biggest problem I see with XLink is that it did not 
&gt; &gt; address &quot;link discovery through architectural forms&quot; - the 
&gt; &gt; process of saying, &quot;in this XML vocabulary, the &quot;cf&quot; 
&gt; &gt; attribute on any element with three vowels in the element 
&gt; &gt; name is a link constructed by using the template
&gt; &gt;   concat(@cf, &quot;?&quot;, local-name(), &quot;=&quot;, .)
&gt; 
&gt; I have been wondering about how to use URI templates in XML:
&gt; http://www.rfc-editor.org/rfc/rfc6570.txt
&gt; 
&gt; Is this a similar idea?

Almost; here is a concrete example in that spirit:

&lt;?link path=&quot;//person&quot; name=&quot;.&quot; uri=&quot;http://example.org/people/$name&quot; ?&gt;

You'd put this in the DTD (I know, Web browsers don't fetch DTDs because
of the FUD over &quot;billion laughs&quot;, an attack also present in JavaScript,
and HTLM 5 deprecates processing instructions, but go with the flow
here...)

Now &lt;person&gt;daniel&lt;/person&gt; would turn into
http://example.org/people/daniel

and a user agent could traverse the link based on some user action.

In a cooperative world :-) path would be any XPath 3 expression, but
only a few weeks ago I heard Web developers saying &quot;XPath just reinvents
selectors and offers no new functionality, but unlike selectors cannot
be implemented efficiently&quot; and with reasoning like that we've got a
long way to go.

I don't actually mean to be defeatist - it's a long road but a number of
people (including me) are trying to walk it, one step at a time, despite
the thorns in the path.

It took a decade for the Web developer world to adopt CSS. Now there's a
movement for people to be able to define their own elements in HTML. The
concepts are slowly coming.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80040.html</link><pubDate>Mon, 16 Apr 2012 12:58:52 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
It's a side issue but what relationship is explicit by enclosure?  

IS-A or HAS-A?

Seems simple enough but this is where this has fallen apart in the past.
We think it is a simple, easy to recognize relationship and it turns out
what we think we know just ain't so.  

The evidence only supports HAS-A.

A post-2000 discussion of architectural forms reinforces the basic
dilemma of web technology:  it is a system attempting to be THE systems
of systems and I've no knowledge of any system succeeding at that for
more than one turn of the wheel.   A lot of nonsense can be avoided by
saying &quot;We are only spec'ing this for the web.  Full stop.&quot; 

And then not nudging or winking that the only system of concern for
others is the web.  That is the nonsense that defeats separation of
concerns.

len

-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:&#x50;&#x65;ter.&#82;&#x75;s&#104;&#x66;orth&#64;NRC&#x61;n-R&#78;Can.gc.ca">mailto:&#x50;&#x65;ter.&#82;&#x75;s&#104;&#x66;orth&#64;NRC&#x61;n-R&#78;Can.gc.ca</A>] 
Sent: Monday, April 16, 2012 10:04 AM
To: Michael Kay; xm&#x6c;&#45;dev&#64;l&#x69;&#115;&#116;&#x73;.&#x78;ml&#46;o&#114;g
Subject: RE:  xml:href, xml:rel and xml:type

One of the ways that XML allows (forces?) us to model a relationship is
with 
enclosing elements:

&lt;factory&gt;&lt;name&gt;Willy Wonka's Chocolate
Factory&lt;/name&gt;&lt;location&gt;England&lt;/location&gt;&lt;/factory&gt;

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30040.html</link><pubDate>Mon, 16 Apr 2012 10:17:58 GMT</pubDate></item><item><title>Re:  three-vowel element names (was Re:  xml:href,xml:</title><description><![CDATA[<!--X-Body-of-Message-->
On Mon, Apr 16, 2012 at 6:53 AM, David Carlisle <span dir="ltr">&lt;<a href="mailto:&#100;av&#x69;&#100;&#99;&#64;&#x6e;&#97;g.co.&#x75;k">&#100;av&#x69;&#100;&#99;&#64;&#x6e;&#97;g.co.&#x75;k</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">The point is that xlinks major (fatal really) failing is that it forces</div>
attribute names on the vocabularies that use it. (Its bad enough that<br>
xml:id forces a name but the issues are worse with link attributes)<br></blockquote><div><br></div><div>I agree, although I think an AF-like approach to linking should also take on IDs, which are just anchors. xml:id would of course have to be the default, recognized way to specify IDs/anchors (I know some would say these are not the same thing, but I believe treating them as such is a pragmatic simplification).</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">architectural forms which pre-dated xlink from SGML had a much more<br>
extensive vocabulary that allowed you to impose linking semantics on<br>
_existing_ markup without the markup having to change.<br>
<br>
So you want to be able to say things like<br>
<br>
a/href is a normal link, img/@src is an embed link.<br>
<br>
But the recognition patterns might need to be more advanced such as<br>
Liam&#39;s somewhat extreme example.<br></blockquote><div><br></div><div>I think the point is that if you have some flexibility in specifying what attributes have the semantics of link/@href or link/@rel, you might as well provide all the flexibility of at least XPath. Of course Liam&#39;s example would need more than XPath 1.0, and would also need regex facilities, but I say &quot;why not?&quot; to that (besides aprocryphally having created an additional problem ;) ).</div>
<div><br></div><div>FWIW I think such an AF-tool would be dead easy to implement in XSLT, and as I recall both Jeni Tennison and John Cowan have given it a go in the past. Those ideas were never really taken up, but I wish they had been. Maybe an AFng could be a nice addition to the MicroXML family of specs.</div>
<div><br></div></div><div><br></div>-- <br>Uche Ogbuji                       http://uche.ogbuji.net<br>Weblog: http://copia.ogbuji.net<br>Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/<br>
Founding Partner, Zepheira        http://zepheira.com<br>Linked-in: http://www.linkedin.com/in/ucheogbuji<br>Articles: http://uche.ogbuji.net/tech/publications/<br>
Friendfeed: http://friendfeed.com/uche<br>Twitter: http://twitter.com/uogbuji<br>http://www.google.com/profiles/uche.ogbuji<br>


]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10040.html</link><pubDate>Mon, 16 Apr 2012 08:41:46 GMT</pubDate></item><item><title>three-vowel element names (was Re:  xml:href, xml:rel andxml:ty</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 4/15/2012 2:56 PM, Liam R E Quin wrote:
&gt; The biggest problem I see with XLink is that it did not address &quot;link
&gt; discovery through architectural forms&quot; - the process of saying, &quot;in this
&gt; XML vocabulary, the &quot;cf&quot; attribute on any element with three vowels in
&gt; the element name is a link constructed by using the template
&gt;    concat(@cf, &quot;?&quot;, local-name(), &quot;=&quot;, .)
&gt; I could see great value in such a specification if I thought anyone
&gt; would implement and use it.

I'm having some difficulty seeing the value in a rule that would form 
links for elements with three vowels in their names.  Maybe if you had a 
better example, the world would flock to implement this?  Seriously - 
what are you on about? Sorry for being dim, but it sounds like it might 
be interesting, and I just don't get it.

-Mike
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80030.html</link><pubDate>Mon, 16 Apr 2012 08:21:14 GMT</pubDate></item><item><title>XML's original goals</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 15 April 2012 20:56, Liam R E Quin &lt;&#108;&#105;&#97;&#x6d;&#x40;w&#x33;.&#x6f;&#114;&#x67;&gt; wrote:
&gt; On Fri, 2012-04-13 at 12:59 +0000, Rushforth, Peter wrote:
&gt;&gt; [...]
&gt;
&gt;&gt; As I understand it, mastery of the web was a goal of
&gt;&gt; XML, so I'm just dreaming a little.
&gt;
&gt; It was not a goal of XML.
&gt;
&gt; The primary goal of XML was getting existing SGML documents and
&gt; work-flows onto the Web. The work was originally called Web SGML.

Talking of origins and goals (and btw c.f.
http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-origin-goals )

...wouldn't it be nice if W3C Member-only archives from the original
XML days could be opened up?

Maybe after 100 years? 50? 20?

Perhaps the only way to do this 'by the book' in terms of expectations
of the original WG participants, would be for W3C to all declare
planet Earth a W3C Member and all it's residents as acting
representatives of that Member. But I'm sure that other less dramatic
mechanisms could be explored, so long as they were respectful of the
constraints and intentions of the original groups (including those who
are no longer with us). Perhaps 15 years is a reasonable period? Later
work isn't so troubled by this as W3C now does much more in public,
but the early XML (and also RDF) design discussions are frustratingly
hard to cite or share.

I ask as I've been talking with Max (cc:'d) lately about proposing a
W3C Community Group (see http://www.w3.org/community/ ) on Web
History, and I've been wondering whether working up such a proposal
(for eventual public release of certain W3C Member-only archives)
would be a feasible and useful work item. Would anyone be interested
in exploring this and working through the details?

cheers,

Dan
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60030.html</link><pubDate>Sun, 15 Apr 2012 23:51:34 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>


On 13/04/2012 13:36, Rushforth, Peter wrote:
&gt;
&gt;
&gt; I am interested in RESTful applications, and in thinking about the space, I have come
&gt; to think that XML, while wonderful for creating your own domain specific vocabulary,
&gt; also suffers from that very strength:  too many re-inventions of the same thing (because
&gt; its so easy to reinvent) leads to no standardization/interoperability at all.
So why reinvent XLink?

I've always had the view that data models generally consist of objects 
(elements), attributes, and relationships, and if XML allows you to 
dream up your own names for your elements and attributes then it should 
also allow you to use your own name for your relationships. Why should 
we use the same name for the relationship between a product and its 
manufacturer as we use for the relationship between a factory and its 
geographical location?

I think that's why XLink failed, and I don't see any difference in your 
proposal.

Now, data typing is another matter: it would be nice if attributes 
containing dates, integers, or URIs were recognizable as such without 
recourse to a schema. But forcing all URIs to be called xlink:href is as 
crazy as forcing all dates to be called date.

Michael Kay
Saxonica

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40030.html</link><pubDate>Sun, 15 Apr 2012 19:04:53 GMT</pubDate></item><item><title>Re:  XML's original goals</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Sun, 2012-04-15 at 23:51 +0200, Dan Brickley wrote:

&gt; Talking of origins and goals (and btw c.f.
&gt; http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-origin-goals )

Yup, although the original poster's question was more about the politics
behind those goals I think...

&gt; ...wouldn't it be nice if W3C Member-only archives from the original
&gt; XML days could be opened up?

Yes. Unfortunately, we can't get everyone's permission, as not all
participants are alive today (as you indeed implied in your message).
But we might be able to get permission from all who are alive and from
the families/heirs of others.

&gt; Perhaps the only way to do this 'by the book' in terms of expectations
&gt; of the original WG participants, would be for W3C to all declare
&gt; planet Earth a W3C Member and all it's residents as acting
&gt; representatives of that Member.

I don't think that would qualify as meeting their/our expectations.
Probably the W3C Member Agreement holds, and W3C/ERCIM/MIT/Keio/INRIA
copyright would hold, in which case maybe it's a matter of contacting
people and asking them to agree, out of decency's sake at least. People
write things very differently in a closed group than in a public group.

&gt; I ask as I've been talking with Max (cc:'d) lately about proposing a
&gt; W3C Community Group (see http://www.w3.org/community/ ) on Web
&gt; History, and I've been wondering whether working up such a proposal
&gt; (for eventual public release of certain W3C Member-only archives)
&gt; would be a feasible and useful work item. Would anyone be interested
&gt; in exploring this and working through the details?

Although it's interesting I know I'm also pretty maxed out... (sorry
Max!) but I'm willing to help to the extent I can.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70030.html</link><pubDate>Sun, 15 Apr 2012 18:52:26 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Fri, 2012-04-13 at 12:59 +0000, Rushforth, Peter wrote:
&gt; [...]

&gt; As I understand it, mastery of the web was a goal of
&gt; XML, so I'm just dreaming a little.

It was not a goal of XML.

The primary goal of XML was getting existing SGML documents and
work-flows onto the Web. The work was originally called Web SGML.

Your comment did I think reach the XML Core Working Group; the group
meets two or three times a month for half an hour, so don't expect an
immediate response :-) However, I think the first reaction was to point
you towards XLink and XPointer.

If &quot;mastery of the Web&quot; _had_ been a goal, XML would have been very
different, as Jeni Tennyson pointed out in her keynote at XML Prague
this year.

To answer a more explicit question (from a personal perspective), the
cost of introducing xml:href would be risking breaking existing XML
systems, which are far more likely to work with xlink:href. And there's
no clear benefit.

The biggest problem I see with XLink is that it did not address &quot;link
discovery through architectural forms&quot; - the process of saying, &quot;in this
XML vocabulary, the &quot;cf&quot; attribute on any element with three vowels in
the element name is a link constructed by using the template
  concat(@cf, &quot;?&quot;, local-name(), &quot;=&quot;, .)

I could see great value in such a specification if I thought anyone
would implement and use it.

Best,

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50030.html</link><pubDate>Sun, 15 Apr 2012 14:56:14 GMT</pubDate></item><item><title>Re:  XMP to XML translation?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Michael Hopwood wrote:
&gt; Hi all,
&gt; 
&gt;  
&gt; 
&gt; I&#x2019;m looking for a quick and simple method to transform XMP files into 
&gt; well-formed XML, 

 From a quick look at
http://en.wikipedia.org/wiki/Extensible_Metadata_Platform,
it looks like XMP is RDF/XML.  (However, I can't tell if my quick look
caused me to miss something saying that XMP might also be written out
something other than RDF/XML.)

If is always RDF/XML, then XMP already is well-formed XML.  (Make sure
you know what &quot;well-formed&quot; does, and doesn't, mean for XML.)  It sounds
like you really meant &quot;valid&quot; (against some schema or DTD).

 &gt; possibly according to an extremely simplified schema
&gt; (i.e. effectively a root node and a list of allowed elements from 
&gt; selected namespaces, all with cardinality 0-n).
&gt; 
&gt;  
&gt; 
&gt; The use case here is to import XMP data into an XSLT engine I&#x2019;m using, 
&gt; but the existing software can&#x2019;t handle the RDF/XML of the raw XMP.

You probably want an RDF reader, not a general-purpose XML tool.  When
RDF is serialized into RDF/XML, there are lots of options (lots of
variation in syntax that mean exactly the same thing, but have quite
different XML structure).

Unless you know for sure that only certain syntactic options will be
used, you'd have to handle the multiple RDF/XML options, and that's not
easy in XSLT (or at least not in a single-step transform).


&gt; Since the XMP is relatively flat, I thought there might be a standard or 
&gt; at least well-known way to get this stuff into ...

The standard way to get RDF/XML into memory is to use a real RDF/XML
reader (as opposed to trying to do it with XSL).  A real RDF/XML reader
would already handle all those syntactic variations, and leave you with
the same structures in memory regardless of which syntactic option was
chosen when the RDF/XML was created.


 &gt; a very simple XML form,
 &gt; from whence it could be input into my XSLT engine (which auto-detects
 &gt; the &#x201C;schema&#x201D; of the input data before creating an XSLT to transform it
 &gt; and future uploads to a new schema).

Then, you could probably use the RDF/XML reader tool to write out XML
for input to your XSLT transform.

Or you might be able to use the RDF/XML reader tool to write the
data back out into RDF/XML, but using only known subset of the
possible syntactic variations, so that your XSLT transform only has
to handle those variations.


Daniel
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30030.html</link><pubDate>Fri, 13 Apr 2012 18:09:28 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
&gt; From: Toby Considine [<A  HREF="mailto:t&#x6f;&#98;yc&#111;&#110;si&#100;i&#110;&#101;&#64;g&#109;&#97;il.com">mailto:t&#x6f;&#98;yc&#111;&#110;si&#100;i&#110;&#101;&#64;g&#109;&#97;il.com</A>] On 
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; And then there is the issue of declaring special purpose XML 
&gt; lexicons. 

Please clarify.  I think this is an important point, but I'm 
not sure we understand the same thing by it.

&gt; Just as I need a mime type for traditional 
&gt; references, and one needs an application type for, say, the 
&gt; &quot;mailto&quot; type link, 

This is a URI scheme I think.  What is it about xml:href which
would not accommodate such a URI?

&gt; there should, of ging down this path, be 
&gt; a place to create/register additional application-namespace 
&gt; types on the references.

Nothing about xml:href, xml:rel and xml:type imply that the full
expressive power of xml is unavailable to the document designer, I think.  

In fact, if these attributes don't fit the need, don't use them.

&gt; 
&gt; In my recent work, I have wrestled with classes of 
&gt; calendar/schedule feeds, and how links to them should be 
&gt; represented. 

&gt; If these are guides to service end points, there 
&gt; should be some way to distinguish and select between a list 
&gt; of them. 

Going back to the expressive power of XML, use that if you need to.

&gt; The idea of a &quot;mini-wsdl&quot; for an array of xlinks w/I 
&gt; a larger xml document, though, threatens to be like a 
&gt; monkfish, i.e. a relatively small creature able to swallow a 
&gt; large goose. The monkfish is hideous.
&gt; After swallowing it has to lie on the bottom for a week or 
&gt; month to digest. 

Interesting analogy!

Cheers,
Peter</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20030.html</link><pubDate>Fri, 13 Apr 2012 14:17:51 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Toby,

Thanks for your response. I don't think I understand your message.

I'm not talking about addressing within a document but between documents,
on the web, using URIs. 

I don't think XPath is in scope in other words.

Cheers,
Peter



&gt; -----Original Message-----
&gt; From: Toby Considine [<A  HREF="mailto:t&#111;&#98;y&#x63;&#x6f;&#110;si&#100;&#x69;&#110;&#x65;&#64;&#x67;&#x6d;&#x61;i&#x6c;.&#x63;o&#109;">mailto:t&#111;&#98;y&#x63;&#x6f;&#110;si&#100;&#x69;&#110;&#x65;&#64;&#x67;&#x6d;&#x61;i&#x6c;.&#x63;o&#109;</A>] On 
&gt; Behalf Of Toby Considine
&gt; Sent: April 13, 2012 09:54
&gt; To: 'Andrew Welch'; Rushforth, Peter
&gt; Cc: &#x78;m&#x6c;-&#100;&#101;v&#64;l&#x69;&#115;&#116;s&#x2e;xml.o&#x72;&#x67;
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; If one were to go down this path, relative addressing, as in 
&gt; xpath, would need to be in the mix.
&gt; 
&gt; I find that when I use these constructs, though, I confuse users.
&gt; 
&gt; 
&gt; &quot;If something is not worth doing, it`s not worth doing well&quot; 
&gt; - Peter Drucker
&gt; 
&gt; Toby Considine
&gt; TC9, Inc
&gt; TC Chair: oBIX &amp; WS-Calendar
&gt; TC Editor: EMIX, EnergyInterop
&gt; U.S. National Inst. of Standards and Tech. Smart Grid 
&gt; Architecture Committee
&gt; 
&gt;   
&gt; Email: &#84;oby&#x2e;Co&#110;&#x73;&#105;d&#105;n&#101;&#x40;gm&#97;il.&#99;&#x6f;m
&gt; Phone: (919)619-2104
&gt; http://www.tcnine.com/
&gt; blog: www.NewDaedalus.com
&gt; 
&gt; 
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90020.html</link><pubDate>Fri, 13 Apr 2012 13:58:46 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 13/04/2012 13:36, Rushforth, Peter wrote:
&gt; Hi there,
&gt;
&gt; @xml:href

As far as I understand your suggestion, having built in link semantics
was part of the original 3-part plan for XML (along with styling)
but that's xlink:href rather than xml:href. I can't see that adding
another standardised href attribute in addition to xlink's would be that
popular (especially given that xlink isn't exactly the most successful
part of xml)

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50020.html</link><pubDate>Fri, 13 Apr 2012 13:51:48 GMT</pubDate></item><item><title>Re:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
&gt; So that makes me wonder if
&gt; XML would benefit from a _single_ simple link standard, inherited by all XML vocabularies
&gt; in the same manner as xml:base,  xml:lang .

Just checking as you didn't mention it - are you aware of xlink:

http://www.w3.org/TR/xlink/

Usually when this question comes up, the answer is that linking is
done in a different layer to the xml (the presentation layer).


-- 
Andrew Welch
http://andrewjwelch.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40020.html</link><pubDate>Fri, 13 Apr 2012 13:49:55 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
&gt; From: David Carlisle [<A  HREF="mailto:d&#97;&#x76;&#105;d&#x63;&#x40;n&#97;&#103;.c&#x6f;&#x2e;&#117;k">mailto:d&#97;&#x76;&#105;d&#x63;&#x40;n&#97;&#103;.c&#x6f;&#x2e;&#117;k</A>] 
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; On 13/04/2012 13:36, Rushforth, Peter wrote:
&gt; &gt; Hi there,
&gt; &gt;
&gt; &gt; @xml:href
&gt; 
&gt; As far as I understand your suggestion, having built in link 
&gt; semantics was part of the original 3-part plan for XML (along 
&gt; with styling) but that's xlink:href rather than xml:href. I 
&gt; can't see that adding another standardised href attribute in 
&gt; addition to xlink's would be that popular (especially given 
&gt; that xlink isn't exactly the most successful part of xml)

XLink has a lot
of attributes the designer has to consider (its complicated), 
but none of them really seem to support the &quot;Web&quot; IME.  I'm not
thinking so much about link semantics as I am about practical
simple application of web infrastructure in XML, along the lines
of &quot;what's the simplest thing that could possibly work?&quot;.

For example, in scanning http://www.w3.org/TR/2010/REC-xlink11-20100506/#linking-elements
I don't see anything about the media type of the resource which is
linked to, so there's no advertisement to the client what can be
negotiated without actually trying a link.

Also, I suppose you have to declare the xlink namespace in order to
use xlinks.  Something I was trying to avoid by going to the xml:
namespace.

But, you're correct, adding yet one more &quot;standard&quot; might not solve
anything.  Then again, it might catch on.

Cheers,
Peter</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70020.html</link><pubDate>Fri, 13 Apr 2012 13:17:47 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Yes I'm aware of xlink.  The reason I'm thinking about going lower in
the layer stack is the re-invention thing.  Not that XLink is not
useful, but for example atom did not use it, and there are probably other
examples.  

Maybe just the fact that the document has to define the namespace is
enough to deter the use of the xlink:href.  xml:lang etc don't suffer from
this.

Linking is not inherent only to presentation, necessarily.  It is vital to changing
application state, however.  As I understand it, mastery of the web was a goal of
XML, so I'm just dreaming a little.

Cheers,
Peter
&gt; -----Original Message-----
&gt; From: Andrew Welch [<A  HREF="mailto:&#97;ndre&#x77;&#x2e;&#x6a;.wel&#99;h&#x40;gmai&#x6c;.com">mailto:&#97;ndre&#x77;&#x2e;&#x6a;.wel&#99;h&#x40;gmai&#x6c;.com</A>] 
&gt; Sent: April 13, 2012 08:50
&gt; To: Rushforth, Peter
&gt; Cc: x&#x6d;l&#45;&#100;ev&#x40;&#x6c;&#x69;&#115;t&#x73;.&#x78;ml.o&#114;&#x67;
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; &gt; So that makes me wonder if
&gt; &gt; XML would benefit from a _single_ simple link standard, 
&gt; inherited by 
&gt; &gt;all XML vocabularies  in the same manner as xml:base,  xml:lang .
&gt; 
&gt; Just checking as you didn't mention it - are you aware of xlink:
&gt; 
&gt; http://www.w3.org/TR/xlink/
&gt; 
&gt; Usually when this question comes up, the answer is that 
&gt; linking is done in a different layer to the xml (the 
&gt; presentation layer).
&gt; 
&gt; 
&gt; --
&gt; Andrew Welch
&gt; http://andrewjwelch.com
&gt; </pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60020.html</link><pubDate>Fri, 13 Apr 2012 12:59:09 GMT</pubDate></item><item><title>xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi there,

I posted this to an 'official' w3c list but didn't get any response.  That could mean
one of several things... ;-).  

I am interested in &quot;XML on the web&quot;.  Some say it failed!  I beg to differ.  But, how could
the story improve, I wonder?  

I am interested in RESTful applications, and in thinking about the space, I have come
to think that XML, while wonderful for creating your own domain specific vocabulary,
also suffers from that very strength:  too many re-inventions of the same thing (because
its so easy to reinvent) leads to no standardization/interoperability at all.

One of the really really really important aspects of REST is that 
links, link relations and media types are central concepts.

In Atom, there is the successful atom:link element.  It is so successful, it is used
in other vocabularies via the atom namespace.  So that makes me wonder if 
XML would benefit from a _single_ simple link standard, inherited by all XML vocabularies
in the same manner as xml:base,  xml:lang . 

My question to the XML community is this:

What would be the value and cost of @xml:rel, @xml:href and @xml:type, 
where &quot;xml:&quot; is automagically mapped to the XML namespace [1], 
&quot;rel&quot; is a link relation [2] and &quot;type&quot; is a MIME media type [3] and xml:href is a 
URI.

xml:type would be 'advisory', in that it would not guarantee what the server would serve
at that URL, but could be used to negotiate the response format for that URI.  This
might also necessitate considering a &quot;xml:hreflang&quot;.

Is it enough (would we need xml:hreflang, or more)?  Is it too much (security, impact on parsers, XSLT/XQuery/XForms/XOther processors)?  
Is the use of the xml: namespace impossible at this point?  

Thanks for your thoughts or links.

[1] http://www.w3.org/XML/1998/namespace
[2] http://tools.ietf.org/html/rfc5988#section-5.3
[3] http://tools.ietf.org/html/rfc2046

Cheers,
Peter Rushforth</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30020.html</link><pubDate>Fri, 13 Apr 2012 12:36:50 GMT</pubDate></item><item><title>[ANN] depx - a simple package manager for xml tech (and more)</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Its early days, but I thought best to throw this into the wild ...
depx is a package manager that I made for selfish personal reasons,
its got a lot of rough edges and may not do what most ppl expect of a
package manager, but open to any suggestions.

What is depx ?

    Its a package manager that uses github as repository to distribute
packages ... its designed as 'dependency management via convention'
versus black magic.

What you can do with depx:

    browse http://depx.org to discover packages

    download depx client to install/remove packages to your applications

    add a package to the repo by forking
https://github.com/xquery/depx ... more information

Please feel free to criticise, comment, and make suggestions here
https://github.com/xquery/depx/issues?sort=created&amp;direction=desc&amp;state=open

Jim Fuller
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20020.html</link><pubDate>Fri, 13 Apr 2012 11:52:37 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
I agree that is how it has traditionally been considered.

We had to wrestle with this problem in WS-Calendar, in which services are
scheduled and service entry points and XML documents are intertwined with
iCalendar information (RFC5545) in ways compatible with xCal (RFC6321). The
use cases to extend this model using ITIP-based syndication are many and
varied. We came up with an ugly substitution group in which an interval can
contain a payload (application-specific xml derived from an abstract
calendar type), OR an XLINK (if the reference was to somewhere else) OR an
XPATH (so the reference could be to somewhere else in the same message /
document set) OR an XMLANY. The XPATH approach is most desirable when used
as part of messaging-based communications, while the xlink approach makes
more sense for RESTful approaches. That portion of the spec epitomized the
aphorism that standards work is the selection between the odious and the
unpalatable.

IF there is work to codify / clean up /improve XLINKs, THEN this should be
part of the use cases.


&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker

Toby Considine
TC9, Inc
TC Chair: oBIX &amp; WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  
Email: &#84;ob&#x79;&#46;Cons&#105;d&#x69;&#x6e;e&#64;g&#x6d;ail&#46;c&#111;m
Phone: (919)619-2104
http://www.tcnine.com/
blog: www.NewDaedalus.com



-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:&#x50;e&#x74;&#x65;r.Ru&#115;&#104;forth&#x40;&#x4e;&#x52;C&#97;n&#45;&#82;&#78;&#x43;a&#110;&#46;gc.&#99;&#97;">mailto:&#x50;e&#x74;&#x65;r.Ru&#115;&#104;forth&#x40;&#x4e;&#x52;C&#97;n&#45;&#82;&#78;&#x43;a&#110;&#46;gc.&#99;&#97;</A>] 
Sent: Friday, April 13, 2012 9:59 AM
To: Toby Considine
Cc: &#120;ml&#45;&#100;&#101;&#118;&#x40;li&#x73;t&#x73;&#46;xm&#x6c;&#46;&#x6f;&#x72;g
Subject: RE:  xml:href, xml:rel and xml:type

Hi Toby,

Thanks for your response. I don't think I understand your message.

I'm not talking about addressing within a document but between documents, on
the web, using URIs. 

I don't think XPath is in scope in other words.

Cheers,
Peter



&gt; -----Original Message-----
&gt; From: Toby Considine [<A  HREF="mailto:t&#x6f;b&#121;cons&#x69;&#x64;ine&#x40;g&#x6d;&#x61;i&#x6c;.&#x63;om">mailto:t&#x6f;b&#121;cons&#x69;&#x64;ine&#x40;g&#x6d;&#x61;i&#x6c;.&#x63;om</A>] On Behalf Of 
&gt; Toby Considine
&gt; Sent: April 13, 2012 09:54
&gt; To: 'Andrew Welch'; Rushforth, Peter
&gt; Cc: &#x78;m&#108;-&#100;&#101;&#118;&#64;&#108;ists&#x2e;x&#109;l&#46;&#x6f;r&#103;
&gt; Subject: RE:  xml:href, xml:rel and xml:type
&gt; 
&gt; If one were to go down this path, relative addressing, as in xpath, 
&gt; would need to be in the mix.
&gt; 
&gt; I find that when I use these constructs, though, I confuse users.
&gt; 
&gt; 
&gt; &quot;If something is not worth doing, it`s not worth doing well&quot; 
&gt; - Peter Drucker
&gt; 
&gt; Toby Considine
&gt; TC9, Inc
&gt; TC Chair: oBIX &amp; WS-Calendar
&gt; TC Editor: EMIX, EnergyInterop
&gt; U.S. National Inst. of Standards and Tech. Smart Grid Architecture 
&gt; Committee
&gt; 
&gt;   
&gt; Email: T&#111;by.Consi&#100;in&#101;&#64;&#103;mai&#108;&#x2e;c&#111;m
&gt; Phone: (919)619-2104
&gt; http://www.tcnine.com/
&gt; blog: www.NewDaedalus.com
&gt; 
&gt; 

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10030.html</link><pubDate>Fri, 13 Apr 2012 10:16:58 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
And then there is the issue of declaring special purpose XML lexicons. Just
as I need a mime type for traditional references, and one needs an
application type for, say, the &quot;mailto&quot; type link, there should, of ging
down this path, be a place to create/register additional
application-namespace types on the references.

In my recent work, I have wrestled with classes of calendar/schedule feeds,
and how links to them should be represented. If these are guides to service
end points, there should be some way to distinguish and select between a
list of them. The idea of a &quot;mini-wsdl&quot; for an array of xlinks w/I a larger
xml document, though, threatens to be like a monkfish, i.e. a relatively
small creature able to swallow a large goose. The monkfish is hideous.
After swallowing it has to lie on the bottom for a week or month to digest. 

tc


&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker

Toby Considine
TC9, Inc
TC Chair: oBIX &amp; WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  
Email: T&#x6f;by&#46;C&#x6f;&#110;s&#x69;&#100;&#105;n&#101;&#x40;gmail&#x2e;&#99;o&#x6d;
Phone: (919)619-2104
http://www.tcnine.com/
blog: www.NewDaedalus.com



-----Original Message-----
From: Rushforth, Peter [<A  HREF="mailto:&#80;et&#x65;&#x72;&#x2e;&#x52;u&#x73;hfort&#104;&#x40;N&#82;Ca&#110;&#45;RNC&#x61;&#x6e;.gc&#x2e;ca">mailto:&#80;et&#x65;&#x72;&#x2e;&#x52;u&#x73;hfort&#104;&#x40;N&#82;Ca&#110;&#45;RNC&#x61;&#x6e;.gc&#x2e;ca</A>] 
Sent: Friday, April 13, 2012 9:18 AM
To: David Carlisle
Cc: xm&#108;-dev&#64;&#x6c;i&#x73;&#116;s&#46;x&#109;l&#46;org
Subject: RE:  xml:href, xml:rel and xml:type

&gt; From: David Carlisle [<A  HREF="mailto:dav&#105;&#100;&#99;&#x40;na&#103;&#x2e;c&#111;.&#117;&#x6b;">mailto:dav&#105;&#100;&#99;&#x40;na&#103;&#x2e;c&#111;.&#117;&#x6b;</A>]
&gt; Subject: Re:  xml:href, xml:rel and xml:type
&gt; 
&gt; On 13/04/2012 13:36, Rushforth, Peter wrote:
&gt; &gt; Hi there,
&gt; &gt;
&gt; &gt; @xml:href
&gt; 
&gt; As far as I understand your suggestion, having built in link semantics 
&gt; was part of the original 3-part plan for XML (along with styling) but 
&gt; that's xlink:href rather than xml:href. I can't see that adding 
&gt; another standardised href attribute in addition to xlink's would be 
&gt; that popular (especially given that xlink isn't exactly the most 
&gt; successful part of xml)

XLink has a lot
of attributes the designer has to consider (its complicated), but none of
them really seem to support the &quot;Web&quot; IME.  I'm not thinking so much about
link semantics as I am about practical simple application of web
infrastructure in XML, along the lines of &quot;what's the simplest thing that
could possibly work?&quot;.

For example, in scanning
http://www.w3.org/TR/2010/REC-xlink11-20100506/#linking-elements
I don't see anything about the media type of the resource which is linked
to, so there's no advertisement to the client what can be negotiated without
actually trying a link.

Also, I suppose you have to declare the xlink namespace in order to use
xlinks.  Something I was trying to avoid by going to the xml:
namespace.

But, you're correct, adding yet one more &quot;standard&quot; might not solve
anything.  Then again, it might catch on.

Cheers,
Peter
_______________________________________________________________________

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: &#120;&#109;l-&#x64;ev-&#x75;ns&#117;b&#x73;c&#114;&#x69;&#x62;&#101;&#64;l&#105;&#115;&#116;s&#x2e;xm&#108;&#x2e;or&#x67;
subscribe: &#x78;&#109;&#x6c;&#x2d;dev-s&#x75;b&#115;&#99;r&#x69;&#x62;&#x65;&#64;&#x6c;&#105;&#115;t&#x73;&#x2e;&#120;&#x6d;&#108;.o&#x72;g List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00030.html</link><pubDate>Fri, 13 Apr 2012 10:03:10 GMT</pubDate></item><item><title>RE:  xml:href, xml:rel and xml:type</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
If one were to go down this path, relative addressing, as in xpath, would
need to be in the mix.

I find that when I use these constructs, though, I confuse users.


&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker

Toby Considine
TC9, Inc
TC Chair: oBIX &amp; WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  
Email: Tob&#x79;&#46;Co&#110;s&#105;d&#x69;&#x6e;&#101;&#64;gm&#97;i&#x6c;.co&#109;
Phone: (919)619-2104
http://www.tcnine.com/
blog: www.NewDaedalus.com


-----Original Message-----
From: Andrew Welch [<A  HREF="mailto:&#97;n&#100;r&#x65;w&#46;j.we&#x6c;&#x63;&#x68;&#64;&#103;ma&#x69;l.co&#109;">mailto:&#97;n&#100;r&#x65;w&#46;j.we&#x6c;&#x63;&#x68;&#64;&#103;ma&#x69;l.co&#109;</A>] 
Sent: Friday, April 13, 2012 8:50 AM
To: Rushforth, Peter
Cc: x&#109;&#108;&#x2d;dev&#x40;&#x6c;is&#116;&#115;&#x2e;&#120;&#x6d;&#x6c;.or&#103;
Subject: Re:  xml:href, xml:rel and xml:type

&gt; So that makes me wonder if
&gt; XML would benefit from a _single_ simple link standard, inherited by 
&gt;all XML vocabularies  in the same manner as xml:base,  xml:lang .

Just checking as you didn't mention it - are you aware of xlink:

http://www.w3.org/TR/xlink/

Usually when this question comes up, the answer is that linking is done in a
different layer to the xml (the presentation layer).


--
Andrew Welch
http://andrewjwelch.com

_______________________________________________________________________

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: xm&#x6c;-&#100;ev&#x2d;u&#x6e;s&#x75;&#x62;s&#x63;ribe&#x40;li&#115;&#x74;&#x73;&#46;x&#109;&#108;.&#111;rg
subscribe: xm&#108;-&#100;ev&#x2d;&#x73;ubs&#99;&#114;&#x69;&#x62;&#x65;&#x40;&#x6c;&#105;&#115;&#116;&#x73;&#x2e;&#x78;m&#x6c;&#x2e;o&#114;g List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80020.html</link><pubDate>Fri, 13 Apr 2012 09:54:10 GMT</pubDate></item><item><title>RE:  XMP to XML translation?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Thanks Lech,

That sounds simpler than I thought... OK. It sounds like I can just plug in the XMP elements to the XSD I already have for the target schema without an intermediary schema...?

Great! :) this is actually what I was thinking would be best but wasn't sure if it could be that simple, as a total beginner at XSLT.

One slight complication is that it may be desirable to retain some structural points, like the rdf:Seq and rdf:Alt from the XMP, where this has meaning that needs to be preserved, but I'm guessing this may also be possible with XSLT?

Thanks again,

Michael

-----Original Message-----
From: Lech Rzedzicki [<A  HREF="mailto:&#120;&#99;&#104;&#97;&#111;t&#x69;&#x63;&#64;gm&#97;&#x69;l&#x2e;c&#x6f;m">mailto:&#120;&#99;&#104;&#97;&#111;t&#x69;&#x63;&#64;gm&#97;&#x69;l&#x2e;c&#x6f;m</A>] 
Sent: 11 April 2012 19:11
To: Michael Hopwood
Cc: &#120;ml-&#100;e&#118;&#x40;l&#x69;&#x73;t&#115;.xm&#108;&#x2e;&#111;&#x72;g
Subject: Re:  XMP to XML translation?

On 10 April 2012 17:46, Michael Hopwood &lt;mic&#104;&#97;el&#64;&#x65;&#100;i&#116;e&#117;r&#46;&#x6f;r&#103;&gt; wrote:
&gt; Hi all,
&gt; I'm looking for a quick and simple method to transform XMP files into 
&gt; well-formed XML, possibly according to an extremely simplified schema (i.e.
&gt; effectively a root node and a list of allowed elements from selected 
&gt; namespaces, all with cardinality 0-n).


Definitely more XSL would work, just identify what info are you after and write XSL templates to match that and discard everything else. For example for image dimensions, the template would be:

&lt;template match=&quot;exif:PixelXDimension&quot;&gt; and &lt;template match=&quot;exif:PixelYDimension&quot;&gt;


Lech
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10020.html</link><pubDate>Thu, 12 Apr 2012 07:05:31 GMT</pubDate></item><item><title>Re:  XMP to XML translation?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 10 April 2012 17:46, Michael Hopwood &lt;&#109;&#105;&#99;h&#97;el&#x40;ed&#105;&#116;&#101;u&#x72;.o&#114;&#103;&gt; wrote:
&gt; Hi all,
&gt; I&#x2019;m looking for a quick and simple method to transform XMP files into
&gt; well-formed XML, possibly according to an extremely simplified schema (i.e.
&gt; effectively a root node and a list of allowed elements from selected
&gt; namespaces, all with cardinality 0-n).


Definitely more XSL would work, just identify what info are you after
and write XSL templates to match that and discard everything else. For
example for image dimensions, the template would be:

&lt;template match=&quot;exif:PixelXDimension&quot;&gt; and &lt;template
match=&quot;exif:PixelYDimension&quot;&gt;


Lech
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00020.html</link><pubDate>Wed, 11 Apr 2012 20:10:51 GMT</pubDate></item><item><title>XMP to XML translation?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I&#8217;m looking for a quick and simple method to transform XMP files into well-formed XML, possibly according to an extremely simplified schema (i.e. effectively a root node and a list of allowed elements from selected namespaces, all with cardinality 0-n).<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The use case here is to import XMP data into an XSLT engine I&#8217;m using, but the existing software can&#8217;t handle the RDF/XML of the raw XMP.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Since the XMP is relatively flat, I thought there might be a standard or at least well-known way to get this stuff into a very simple XML form, from whence it could be input into my XSLT engine (which auto-detects the &#8220;schema&#8221; of the input data before creating an XSLT to transform it and future uploads to a new schema).<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I&#8217;ve identified which namespaces need to be included in my pseudo-schema, I just wondered if there are some existing tools, preferably free, which can do the job? Can this be done with more XSLT&#8230;?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Michael Hopwood<o:p></o:p></p><p class=MsoNormal>Linked Heritage Project Lead<o:p></o:p></p><p class=MsoNormal>EDItEUR<o:p></o:p></p><p class=MsoNormal>United House, North&nbsp; Road<o:p></o:p></p><p class=MsoNormal>London N7 9DP<o:p></o:p></p><p class=MsoNormal>UK<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Tel: +44 20 7503 6418<o:p></o:p></p><p class=MsoNormal>Mob: +44 7811 591036<o:p></o:p></p><p class=MsoNormal>Skype: michael.hopwood.editeur<o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>http://www.linkedheritage.org/<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>http://editeur.org/<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>The information contained in this e-mail is&nbsp;confidential and may be privileged. It is&nbsp;intended for the addressee only. If you are&nbsp;not the intended recipient, please inform the&nbsp;sender and delete this e-mail immediately.&nbsp;The contents of this e-mail must not be&nbsp;disclosed or copied without the sender's&nbsp;consent. We cannot accept any&nbsp;responsibility for viruses, so please scan all&nbsp;attachments. The statements and opinions&nbsp;expressed in this message are those of the&nbsp;author and do not necessarily reflect those&nbsp;of the company.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><br>EDItEUR Limited is a company limited by&nbsp;guarantee, registered in England no&nbsp;2994705. Registered Office:</span><span style='mso-fareast-language:EN-GB'> </span><span style='mso-fareast-language:EN-GB'>6TH FLOOR, 25 FARRINGDON STREET, LONDON, EC4A 4AB, UNITED KINGDOM</span><span style='mso-fareast-language:EN-GB'><o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80010.html</link><pubDate>Tue, 10 Apr 2012 16:46:45 GMT</pubDate></item><item><title>Re:  XMP to XML translation?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Is there something here that might help?

   http://www.CraneSoftwrights.com/resources/#XMP

What I found with the flat XMP structure is that 
it was too restrictive for me to include my own 
XML as marked up XML ... I ended up including it 
as escaped text and I wrote a stylesheet to 
translate the escaped text into the embedded XML instance.

In my case it is an embedded UBL document found in the XMP content.

My package includes a Python application for 
extracting the XMP content from the PDF file.

I hope this helps somewhat, though it isn't exactly what you were asking for.

. . . . . . . . Ken

At 2012-04-10 16:46 +0100, Michael Hopwood wrote:
&gt;Im looking for a quick and simple method to 
&gt;transform XMP files into well-formed XML, 
&gt;possibly according to an extremely simplified 
&gt;schema (i.e. effectively a root node and a list 
&gt;of allowed elements from selected namespaces, all with cardinality 0-n).
&gt;
&gt;The use case here is to import XMP data into an 
&gt;XSLT engine Im using, but the existing software 
&gt;cant handle the RDF/XML of the raw XMP.
&gt;
&gt;Since the XMP is relatively flat, I thought 
&gt;there might be a standard or at least well-known 
&gt;way to get this stuff into a very simple XML 
&gt;form, from whence it could be input into my XSLT 
&gt;engine (which auto-detects the schema of the 
&gt;input data before creating an XSLT to transform 
&gt;it and future uploads to a new schema).
&gt;
&gt;Ive identified which namespaces need to be 
&gt;included in my pseudo-schema, I just wondered if 
&gt;there are some existing tools, preferably free, 
&gt;which can do the job? Can this be done with more XSLT?
&gt;
&gt;Michael Hopwood
&gt;Linked Heritage Project Lead
&gt;EDItEUR
&gt;United House, North  Road
&gt;London N7 9DP
&gt;UK
&gt;
&gt;Tel: +44 20 7503 6418
&gt;Mob: +44 7811 591036
&gt;Skype: michael.hopwood.editeur
&gt;&lt;http://www.linkedheritage.org/&gt;http://www.linkedheritage.org/
&gt;http://editeur.org/



--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- May 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   <A  HREF="mailto:&#103;kh&#111;lman&#x40;&#x43;ra&#x6e;eSo&#102;t&#x77;&#x72;&#105;&#103;h&#x74;&#x73;.&#x63;om">mailto:&#103;kh&#111;lman&#x40;&#x43;ra&#x6e;eSo&#102;t&#x77;&#x72;&#105;&#103;h&#x74;&#x73;.&#x63;om</A>
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90010.html</link><pubDate>Tue, 10 Apr 2012 11:54:29 GMT</pubDate></item><item><title>Re:  Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 09/04/12 16:53, Cezar Andrei wrote:
&gt; Hi Dave,
&gt;
&gt; You could try xsd2inst tool from XMLBeans&lt;http://xmlbeans.apache.org/&gt;
&gt; http://xmlbeans.apache.org/ .
&gt; See details&lt;http://xmlbeans.apache.org/docs/2.0.0/guide/tools.html#xsd2inst&gt;at:
&gt; http://xmlbeans.apache.org/docs/2.0.0/guide/tools.html#xsd2inst
&gt;
&gt; It's available in Ubuntu: sudo apt-get install xmlbeans , also integrated
&gt; as an XQuery module in the next version of Zorba&lt;http://www.zorba-xquery.com&gt;
&gt; http://www.zorba-xquery.com .
&gt;
&gt; Cezar Andrei


I'm using a DTD (DITA), not XSD Andrei, but thanks for the link.
A useful reference.


regards DaveP


&gt;
&gt;&gt; *From: *davep&lt;d&#x61;v&#101;&#112;&#64;d&#112;aws&#111;&#110;.co.&#x75;k&gt;
&gt;&gt; *Date: *April 2, 2012 12:30:40 AM PDT
&gt;&gt; *To: *&#x78;ml&#x2d;&#x64;ev&#64;l&#105;s&#116;s&#46;&#x78;m&#x6c;.org
&gt;&gt; *Subject: ** Generate xml instance from DTD?*
&gt;&gt;
&gt;&gt; http://java.net/downloads/msv/nightly/
&gt;&gt; Ex Sun xmlgen generates test content from a DTD/Schema,
&gt;&gt; but uses Japanese content?
&gt;&gt;
&gt;&gt;  From the help there seems no way to request English content?
&gt;&gt;
&gt;&gt; Anyone know of other such generators please?
&gt;&gt; Input Schema, root element, output, random, valid XML?
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; regards
&gt;&gt;
&gt;&gt; --
&gt;&gt; Dave Pawson
&gt;&gt; XSLT XSL-FO FAQ.
&gt;&gt; http://www.dpawson.co.uk
&gt;&gt;
&gt;&gt; _______________________________________________________________________
&gt;&gt;
&gt;&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt;&gt; to support XML implementation and development. To minimize
&gt;&gt; spam in the archives, you must subscribe before posting.
&gt;&gt;
&gt;&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt;&gt; Or unsubscribe: &#x78;ml&#45;de&#x76;-&#x75;&#x6e;s&#117;bs&#x63;&#x72;ib&#101;&#x40;li&#x73;&#x74;s&#46;&#120;ml.o&#114;g
&gt;&gt; subscribe: xm&#x6c;-&#x64;&#x65;&#118;-su&#98;sc&#x72;ib&#x65;&#64;&#x6c;i&#x73;&#116;s.&#x78;ml.&#111;&#114;&#x67;
&gt;&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt;&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70010.html</link><pubDate>Tue, 10 Apr 2012 07:21:27 GMT</pubDate></item><item><title>Re:  Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
Mandatory elements and attributes are always generated. Optional elements and attributes are generated if specified.<br><br>- Gerben Abbink<br>  XMLBlueprint.com<br><br><div class="gmail_quote">On Fri, Apr 6, 2012 at 9:30 AM, davep <span dir="ltr">&lt;<a href="mailto:&#100;a&#118;&#101;p&#x40;&#x64;pa&#x77;&#x73;&#x6f;&#x6e;.&#x63;&#111;&#x2e;uk">&#100;a&#118;&#101;p&#x40;&#x64;pa&#x77;&#x73;&#x6f;&#x6e;.&#x63;&#111;&#x2e;uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 06/04/12 08:14, XMLBlueprint Team wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dave,<br>
<br>
Generating an XML instance from a DTD is supported in XMLBlueprint XML<br>
Editor: open your DTD and select Schema&gt;  Generate Sample XML from DTD.<br>
<br>
- Gerben Abbink<br>
   XMLBlueprint.com<br>
</blockquote>
<br></div>
Thanks Gerben. Does it output optional as well as required elements/attributes?<br>
<br>
I want to check a set of stylesheets (PDF and HTML) so<br>
I want maximum coverage?<br>
<br>
<br>
regards DaveP<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
On Mon, Apr 2, 2012 at 9:30 AM, davep&lt;<a href="mailto:&#x64;avep&#x40;&#100;&#x70;awso&#x6e;&#x2e;co.&#x75;k" target="_blank">&#x64;avep&#x40;&#100;&#x70;awso&#x6e;&#x2e;co.&#x75;k</a>&gt;  wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
http://java.net/downloads/msv/**nightly/&lt;http://java.net/downloads/msv/nightly/&gt;<div class="im">
<br>
Ex Sun xmlgen generates test content from a DTD/Schema,<br>
but uses Japanese content?<br>
<br>
 From the help there seems no way to request English content?<br>
<br>
Anyone know of other such generators please?<br>
Input Schema, root element, output, random, valid XML?<br>
<br>
<br>
<br>
regards<br>
<br>
--<br>
Dave Pawson<br>
XSLT XSL-FO FAQ.<br>
http://www.dpawson.co.uk<br>
<br></div>
______________________________<u></u>**____________________________<u></u>__**<div class="im"><br>
___________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br></div>
[Un]Subscribe/change address: http://www.oasis-open.org/**mlmanage/&lt;http://www.oasis-open.org/mlmanage/&gt;<br>

Or unsubscribe: x&#x6d;&#108;-&#100;e&#118;&#x2d;u&#x6e;su&#98;&#x73;c&#x72;&#x69;&#98;e&#x40;&#x6c;i&#115;ts&#46;xml.<u></u>**org&lt;<a href="mailto:x&#x6d;&#108;-&#100;e&#118;&#x2d;u&#x6e;su&#98;&#x73;c&#x72;&#x69;&#98;e&#x40;&#x6c;i&#115;ts&#46;xml.org" target="_blank">xml-dev-unsubscribe@<u></u>lists.xml.org</a>&gt;<br>
subscribe: &#120;ml&#x2d;d&#101;&#118;&#45;&#115;&#117;bs&#x63;&#114;&#x69;b&#101;&#x40;lists&#46;xm&#x6c;.**<u></u>org&lt;<a href="mailto:&#120;ml&#x2d;d&#101;&#118;&#45;&#115;&#117;bs&#x63;&#114;&#x69;b&#101;&#x40;lists&#46;xm&#x6c;.org" target="_blank">xml-dev-subscribe@lists.<u></u>xml.org</a>&gt;<br>
List archive: http://lists.xml.org/archives/**xml-dev/&lt;http://lists.xml.org/archives/xml-dev/&gt;<br>

List Guidelines: http://www.oasis-open.org/**maillists/guidelines.php&lt;http://www.oasis-open.org/maillists/guidelines.php&gt;<br>

<br>
<br>
</blockquote>
<br>
</blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
<br>
regards<br>
<br>
-- <br>
Dave Pawson<br>
XSLT XSL-FO FAQ.<br>
http://www.dpawson.co.uk<br>
<br>
______________________________<u></u>______________________________<u></u>___________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:&#120;&#109;l&#45;&#100;&#101;&#118;-u&#x6e;&#x73;ubscri&#x62;&#101;&#x40;&#108;i&#115;t&#115;.&#120;&#x6d;&#108;.or&#x67;" target="_blank">xml-dev-unsubscribe@l....<u></u>org</a><br>
subscribe: <a href="mailto:&#x78;&#109;&#108;&#45;&#100;&#x65;v-&#115;&#x75;bscri&#98;e&#64;&#x6c;i&#x73;ts.&#x78;&#x6d;&#108;.&#x6f;r&#103;" target="_blank">xml-dev-subscribe@l....<u></u>org</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br>
</div></div></blockquote></div><br>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50010.html</link><pubDate>Mon, 09 Apr 2012 14:53:37 GMT</pubDate></item><item><title>Re:  Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
Hi Dave,<br><br>You could try xsd2inst tool from http://xmlbeans.apache.org/ http://xmlbeans.apache.org/ .<br>See http://xmlbeans.apache.org/docs/2.0.0/guide/tools.html#xsd2inst at: http://xmlbeans.apache.org/docs/2.0.0/guide/tools.html#xsd2inst<br>
<br>It&#39;s available in Ubuntu: <span style="font-family:courier new,monospace">sudo apt-get install xmlbeans</span> , also integrated as an XQuery module in the next version of http://www.zorba-xquery.com http://www.zorba-xquery.com .<br>
<br>Cezar Andrei<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><blockquote type="cite"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span><b>From: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">davep &lt;<a href="mailto:&#x64;&#97;ve&#x70;&#64;&#100;p&#97;w&#115;o&#110;&#x2e;&#99;&#x6f;.uk" target="_blank">&#x64;&#97;ve&#x70;&#64;&#100;p&#97;w&#115;o&#110;&#x2e;&#99;&#x6f;.uk</a>&gt;<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span><b>Date: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">April 2, 2012 12:30:40 AM PDT<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span><b>To: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><a href="mailto:&#x78;&#x6d;&#x6c;-&#x64;&#x65;&#x76;&#64;l&#x69;sts&#46;&#120;m&#108;&#x2e;org" target="_blank">&#x78;&#x6d;&#x6c;-&#x64;&#x65;&#x76;&#64;l&#x69;sts&#46;&#120;m&#108;&#x2e;org</a><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span><b>Subject: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><b> Generate xml instance from DTD?</b><br>
</span></div><br><div>http://java.net/downloads/msv/nightly/<br>Ex Sun xmlgen generates test content from a DTD/Schema,<br>but uses Japanese content?<br>
<br>From the help there seems no way to request English content?<br><br>Anyone know of other such generators please?<br>Input Schema, root element, output, random, valid XML?<br><br><br><br>regards<br><br>-- <br>Dave Pawson<br>
XSLT XSL-FO FAQ.<br>http://www.dpawson.co.uk<br><br>_______________________________________________________________________<br><br>XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>spam in the archives, you must subscribe before posting.<br><br>[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:&#x78;&#109;&#108;&#x2d;&#100;ev&#x2d;u&#110;subscr&#105;b&#x65;&#64;&#x6c;&#x69;sts.&#x78;&#x6d;&#108;.&#x6f;&#114;&#103;" target="_blank">&#x78;&#109;&#108;&#x2d;&#100;ev&#x2d;u&#110;subscr&#105;b&#x65;&#64;&#x6c;&#x69;sts.&#x78;&#x6d;&#108;.&#x6f;&#114;&#103;</a><br>subscribe: <a href="mailto:xml-dev-subscribe@l..." target="_blank">xml-dev-subscribe@l...</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br></div></blockquote></div><br></div></div></div></blockquote><br></div><br>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60010.html</link><pubDate>Mon, 09 Apr 2012 10:53:59 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Edwin,

Henri Sivonen uses the datatype libraries for his (X)HTML5 validator. 
This may be an interesting example for you, see:
http://about.validator.nu/#details
http://hsivonen.iki.fi/html5-datatypes/

Best Regards,
George
--
George Cristian Bina
&lt;oXygen/&gt; XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 4/5/12 12:25 PM, Edwin Dankert wrote:
&gt; Hello George,
&gt;
&gt;&gt; You should look also into Relax NG datatype libraries - basically you can
&gt;&gt; define a type for your expressions and write an implementation for that
&gt;&gt; datatype for your Relax NG processor, Jing for example, then you should be
&gt;&gt; able to use that from a Relax NG schema.
&gt;
&gt; Thank you very much for this. This would have been the solution I
&gt; wanted to implement initially however after some looking at the code
&gt; and documentation for the different validation languages there didn't
&gt; seem to be a clear way to implement this, which lead me to conclude
&gt; that this might not generally be regarded as the preferred way to
&gt; handle this type of functionality and prompted my question.
&gt;
&gt; However if you say that this is actually possible and a valid way to
&gt; handle this issue and I am well aware of your experience in this area,
&gt; I will definitely look at this again but now in more depth using the
&gt; pointers you provided.
&gt;
&gt; Thanks again,
&gt; Edwin
&gt;
&gt; On 4 April 2012 19:56, George Cristian Bina&lt;geor&#103;&#101;&#64;&#x6f;xy&#x67;&#x65;&#110;xm&#108;&#x2e;&#99;o&#109;&gt;  wrote:
&gt;&gt; Hi Edwin,
&gt;&gt;
&gt;&gt; You should look also into Relax NG datatype libraries - basically you can
&gt;&gt; define a type for your expressions and write an implementation for that
&gt;&gt; datatype for your Relax NG processor, Jing for example, then you should be
&gt;&gt; able to use that from a Relax NG schema.
&gt;&gt;
&gt;&gt; Best Regards,
&gt;&gt; George
&gt;&gt; --
&gt;&gt; George Cristian Bina
&gt;&gt; &lt;oXygen/&gt;  XML Editor, Schema Editor and XSLT Editor/Debugger
&gt;&gt; http://www.oxygenxml.com
&gt;&gt;
&gt;&gt;
&gt;&gt; On 3/30/12 3:35 PM, Edwin Dankert wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; Hello,
&gt;&gt;&gt;
&gt;&gt;&gt; I hope you can guide me in the best way to proceed with this validation
&gt;&gt;&gt; issue.
&gt;&gt;&gt;
&gt;&gt;&gt; I have a XML structure with most of the nodes representing simple
&gt;&gt;&gt; data, like names, references and numeric values.
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;person&gt;
&gt;&gt;&gt;    &lt;name&gt;John&lt;name&gt;
&gt;&gt;&gt;    &lt;salary&gt;1000&lt;salary&gt;
&gt;&gt;&gt; &lt;/person&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; However some of the numeric nodes can not only represent the data as
&gt;&gt;&gt; simple numeric values, they can also be specified as an expression and
&gt;&gt;&gt; point to other items in the document.
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;person xmlns=&quot;x&quot;&gt;
&gt;&gt;&gt;    &lt;name&gt;John&lt;name&gt;
&gt;&gt;&gt;    &lt;salary&gt;100000/$no-of-employees}&lt;salary&gt;
&gt;&gt;&gt; &lt;/person&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; The expression language is quite complex and cannot be represented by
&gt;&gt;&gt; a regular-expression. The syntax is however specified using EBNF and
&gt;&gt;&gt; only the syntax needs to be validated.
&gt;&gt;&gt;
&gt;&gt;&gt; A XML Schema for this exists:
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;schema&gt;
&gt;&gt;&gt;    &lt;element name=&quot;person&quot;&gt;
&gt;&gt;&gt;      &lt;sequence&gt;
&gt;&gt;&gt;        &lt;element name=&quot;name&quot; type=&quot;Name&quot;&gt;
&gt;&gt;&gt;        &lt;element name=&quot;salary&quot; type=&quot;string&quot;&gt;
&gt;&gt;&gt;      &lt;/sequence&gt;
&gt;&gt;&gt;    &lt;/element&gt;
&gt;&gt;&gt; &lt;schema&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; The goal is to have a standalone tool which can validate using the
&gt;&gt;&gt; more simple constraints specified by the schema and also validate the
&gt;&gt;&gt; values which contain the expression language.
&gt;&gt;&gt;
&gt;&gt;&gt; My preferred solution would involve validating the expression value
&gt;&gt;&gt; syntax directly from the EBNF using standard XML technologies but
&gt;&gt;&gt; don't believe this is currently an option.
&gt;&gt;&gt;
&gt;&gt;&gt; My questions now is: what would be the best way to validate these
&gt;&gt;&gt; values in your opinion or how was this solved in any of your previous
&gt;&gt;&gt; projects? (Note: The validator tool-set already includes Java, NVDL,
&gt;&gt;&gt; XSLT 2.0, XML Schema 1.0.)
&gt;&gt;&gt;
&gt;&gt;&gt; Any suggestions are very welcome.
&gt;&gt;&gt;
&gt;&gt;&gt; Thanks in advance,
&gt;&gt;&gt; Edwin
&gt;&gt;&gt;
&gt;&gt;&gt; _______________________________________________________________________
&gt;&gt;&gt;
&gt;&gt;&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt;&gt;&gt; to support XML implementation and development. To minimize
&gt;&gt;&gt; spam in the archives, you must subscribe before posting.
&gt;&gt;&gt;
&gt;&gt;&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt;&gt;&gt; Or unsubscribe: x&#109;l-&#x64;e&#x76;&#45;u&#110;&#115;u&#x62;sc&#x72;&#x69;&#98;e&#x40;&#x6c;&#105;&#x73;ts.x&#x6d;l.&#111;r&#x67;
&gt;&gt;&gt; subscribe: &#120;&#109;l-&#100;&#x65;v-su&#98;scri&#x62;&#101;&#64;l&#105;sts.xml.&#x6f;r&#103;
&gt;&gt;&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt;&gt;&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;&gt;&gt;
&gt;&gt;
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40010.html</link><pubDate>Fri, 06 Apr 2012 10:33:39 GMT</pubDate></item><item><title>Re:  Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
Dave,<br><br>Generating an XML instance from a DTD is supported in XMLBlueprint XML Editor: open your DTD and select Schema &gt; Generate Sample XML from DTD.<br><br>- Gerben Abbink<br>  XMLBlueprint.com<br><br><br><div class="gmail_quote">

On Mon, Apr 2, 2012 at 9:30 AM, davep <span dir="ltr">&lt;<a href="mailto:&#100;ave&#112;&#x40;&#100;pa&#x77;&#115;&#x6f;&#110;.&#x63;o&#46;&#117;k" target="_blank">&#100;ave&#112;&#x40;&#100;pa&#x77;&#115;&#x6f;&#110;.&#x63;o&#46;&#117;k</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

http://java.net/downloads/msv/nightly/<br>
Ex Sun xmlgen generates test content from a DTD/Schema,<br>
but uses Japanese content?<br>
<br>
From the help there seems no way to request English content?<br>
<br>
Anyone know of other such generators please?<br>
Input Schema, root element, output, random, valid XML?<br>
<br>
<br>
<br>
regards<br>
<br>
-- <br>
Dave Pawson<br>
XSLT XSL-FO FAQ.<br>
http://www.dpawson.co.uk<br>
<br>
______________________________<u></u>______________________________<u></u>___________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:xm&#x6c;&#45;&#x64;&#101;v-&#117;&#110;&#x73;&#x75;&#98;s&#x63;r&#105;b&#x65;&#x40;li&#115;&#116;&#115;.x&#x6d;&#108;&#x2e;&#111;&#114;g" target="_blank">xml-dev-unsubscribe@l....<u></u>org</a><br>
subscribe: <a href="mailto:xm&#x6c;-de&#x76;&#x2d;s&#117;b&#115;cribe&#64;&#x6c;&#105;s&#116;s.x&#109;&#x6c;&#46;org" target="_blank">xml-dev-subscribe@l....<u></u>org</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br>
</blockquote></div><br>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20010.html</link><pubDate>Fri, 06 Apr 2012 09:14:18 GMT</pubDate></item><item><title>Re:  Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Dave,

oXygen includes an XML Schema instance generator tool, see &quot;Tools -&gt; 
Generate sample XML files&quot;.
You can convert the DTD to XML Schema first then use that to generate 
instance documents.

Best Regards,
George
--
George Cristian Bina
&lt;oXygen/&gt; XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 4/2/12 10:30 AM, davep wrote:
&gt; http://java.net/downloads/msv/nightly/
&gt; Ex Sun xmlgen generates test content from a DTD/Schema,
&gt; but uses Japanese content?
&gt;
&gt;  From the help there seems no way to request English content?
&gt;
&gt; Anyone know of other such generators please?
&gt; Input Schema, root element, output, random, valid XML?
&gt;
&gt;
&gt;
&gt; regards
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10010.html</link><pubDate>Fri, 06 Apr 2012 09:13:52 GMT</pubDate></item><item><title>Re:  Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 06/04/12 08:14, XMLBlueprint Team wrote:
&gt; Dave,
&gt;
&gt; Generating an XML instance from a DTD is supported in XMLBlueprint XML
&gt; Editor: open your DTD and select Schema&gt;  Generate Sample XML from DTD.
&gt;
&gt; - Gerben Abbink
&gt;    XMLBlueprint.com

Thanks Gerben. Does it output optional as well as required 
elements/attributes?

I want to check a set of stylesheets (PDF and HTML) so
I want maximum coverage?


regards DaveP


&gt;
&gt;
&gt; On Mon, Apr 2, 2012 at 9:30 AM, davep&lt;d&#97;&#118;&#x65;p&#x40;d&#x70;&#x61;w&#x73;&#x6f;n&#x2e;c&#x6f;&#x2e;&#117;&#x6b;&gt;  wrote:
&gt;
&gt;&gt; http://java.net/downloads/msv/**nightly/&lt;http://java.net/downloads/msv/nightly/&gt;
&gt;&gt; Ex Sun xmlgen generates test content from a DTD/Schema,
&gt;&gt; but uses Japanese content?
&gt;&gt;
&gt;&gt;  From the help there seems no way to request English content?
&gt;&gt;
&gt;&gt; Anyone know of other such generators please?
&gt;&gt; Input Schema, root element, output, random, valid XML?
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; regards
&gt;&gt;
&gt;&gt; --
&gt;&gt; Dave Pawson
&gt;&gt; XSLT XSL-FO FAQ.
&gt;&gt; http://www.dpawson.co.uk
&gt;&gt;
&gt;&gt; ______________________________**______________________________**
&gt;&gt; ___________
&gt;&gt;
&gt;&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt;&gt; to support XML implementation and development. To minimize
&gt;&gt; spam in the archives, you must subscribe before posting.
&gt;&gt;
&gt;&gt; [Un]Subscribe/change address: http://www.oasis-open.org/**mlmanage/&lt;http://www.oasis-open.org/mlmanage/&gt;
&gt;&gt; Or unsubscribe: xm&#108;-dev&#x2d;&#117;ns&#x75;b&#115;c&#114;&#x69;&#x62;e&#64;list&#115;.&#120;ml.**org&lt;xm&#108;-dev&#x2d;&#117;ns&#x75;b&#115;c&#114;&#x69;&#x62;e&#64;list&#115;.&#120;ml.org&gt;
&gt;&gt; subscribe: x&#109;l&#45;d&#x65;&#x76;&#45;&#x73;ub&#x73;&#x63;r&#105;b&#x65;&#x40;&#108;&#105;&#x73;&#116;&#115;.&#x78;&#x6d;&#x6c;.**org&lt;x&#109;l&#45;d&#x65;&#x76;&#45;&#x73;ub&#x73;&#x63;r&#105;b&#x65;&#x40;&#108;&#105;&#x73;&#116;&#115;.&#x78;&#x6d;&#x6c;.org&gt;
&gt;&gt; List archive: http://lists.xml.org/archives/**xml-dev/&lt;http://lists.xml.org/archives/xml-dev/&gt;
&gt;&gt; List Guidelines: http://www.oasis-open.org/**maillists/guidelines.php&lt;http://www.oasis-open.org/maillists/guidelines.php&gt;
&gt;&gt;
&gt;&gt;
&gt;



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30010.html</link><pubDate>Fri, 06 Apr 2012 08:30:18 GMT</pubDate></item><item><title>Fw: [members] New white paper on interoperability guidelines published b</title><description><![CDATA[<!--X-Body-of-Message-->
<font size=2 face="sans-serif">Very interestring and useful...</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; /r$</font>
<br>
<br><font size=2 face="sans-serif">--<br>
STSM, WebSphere Appliance Architect<br>
</font>https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/<font size=2 face="sans-serif"><br>
</font>
<br>
<br><tt><font size=2>&gt; From: Chet Ensign &lt;&#99;h&#101;t&#46;&#101;&#x6e;&#x73;&#105;&#103;n&#64;o&#97;&#115;is&#x2d;o&#x70;&#x65;&#x6e;.&#x6f;&#114;g&gt;</font></tt>
<br><tt><font size=2>&gt; To: tc-&#97;&#x6e;n&#x6f;&#x75;n&#x63;e&#64;l&#105;&#115;t&#115;&#x2e;o&#97;&#115;is&#x2d;&#x6f;&#112;&#x65;n&#x2e;&#x6f;rg, members@l...,
<br>
&gt; t&#x61;&#98;&#64;&#x6c;is&#116;&#115;.oa&#x73;&#x69;s-&#x6f;p&#x65;&#x6e;&#x2e;&#111;&#114;&#x67;</font></tt>
<br><tt><font size=2>&gt; Date: 03-04-12 01:21 PM</font></tt>
<br><tt><font size=2>&gt; Subject: [members] New white paper on interoperability
guidelines <br>
&gt; published by the OASIS TAB</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; OASIS members, <br>
&gt; <br>
&gt; A new whitepaper, &quot;Interoperability Guidelines,&quot; has been
published <br>
&gt; by the OASIS Technical Advisory Board (TAB). <br>
&gt; <br>
&gt; The whitepaper covers best practices for writing specifications in
<br>
&gt; ways that minimize the risk of interoperability failures between <br>
&gt; implementations. Specifications can become imprecise for any number
<br>
&gt; of perfectly valid reasons, resulting in gaps in interpretation that<br>
&gt; become evident once interoperability is tested. &quot;Interoperability
<br>
&gt; Guidelines&quot; points out the most common traps that specification
<br>
&gt; writers can avoid to minimize risk of misunderstanding. <br>
&gt; <br>
&gt; The target audience for the white paper is primarily specification
<br>
&gt; writers and TC members. <br>
&gt; <br>
&gt; The white paper can be found at </font></tt>http://www.oasis-open.org/policies-<tt><font size=2><br>
&gt; guidelines/interoperability-guidelines . <br>
&gt; <br>
&gt; OASIS thanks the TAB for its efforts to provide this resource to <br>
&gt; members. Information about the TAB can be found at </font></tt>http://www.oasis-/<tt><font size=2><br>
&gt; open.org/tab . <br>
&gt; <br>
&gt; /chet <br>
&gt; ----------------<br>
&gt; Chet Ensign<br>
&gt; Director of Standards Development and TC Administration <br>
&gt; OASIS: Advancing open standards for the information society<br>
&gt; </font></tt>http://www.oasis-open.org/<tt><font size=2><br>
&gt; <br>
&gt; Primary: +1 973-378-3472<br>
&gt; Mobile: +1 201-341-1393<br>
&gt; <br>
&gt; Follow OASIS on:<br>
&gt; LinkedIn: &nbsp; &nbsp;</font></tt>http://linkd.in/OASISopen<tt><font size=2><br>
&gt; Twitter: &nbsp; &nbsp; &nbsp; &nbsp;</font></tt>http://twitter.com/OASISopen<tt><font size=2><br>
&gt; Facebook: &nbsp;</font></tt>http://facebook.com/oasis.open<tt><font size=2><br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; ---------------------------------------------------------------------<br>
&gt; <br>
&gt; This email list is used solely by OASIS for official consortium <br>
&gt; communications.<br>
&gt; <br>
&gt; Opt-out requests may be sent to m&#x65;&#109;&#98;&#x65;r&#x2d;se&#x72;&#118;&#105;&#99;es&#64;oas&#105;&#x73;-&#x6f;&#112;en&#x2e;org, <br>
&gt; however, all members are strongly encouraged to maintain a <br>
&gt; subscription to this list.<br>
&gt; <br>
</font></tt>
]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00010.html</link><pubDate>Thu, 05 Apr 2012 22:23:45 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hello George,

&gt; You should look also into Relax NG datatype libraries - basically you can
&gt; define a type for your expressions and write an implementation for that
&gt; datatype for your Relax NG processor, Jing for example, then you should be
&gt; able to use that from a Relax NG schema.

Thank you very much for this. This would have been the solution I
wanted to implement initially however after some looking at the code
and documentation for the different validation languages there didn't
seem to be a clear way to implement this, which lead me to conclude
that this might not generally be regarded as the preferred way to
handle this type of functionality and prompted my question.

However if you say that this is actually possible and a valid way to
handle this issue and I am well aware of your experience in this area,
I will definitely look at this again but now in more depth using the
pointers you provided.

Thanks again,
Edwin

On 4 April 2012 19:56, George Cristian Bina &lt;&#103;eorge&#64;&#x6f;&#120;&#121;&#x67;enx&#x6d;l&#46;&#99;om&gt; wrote:
&gt; Hi Edwin,
&gt;
&gt; You should look also into Relax NG datatype libraries - basically you can
&gt; define a type for your expressions and write an implementation for that
&gt; datatype for your Relax NG processor, Jing for example, then you should be
&gt; able to use that from a Relax NG schema.
&gt;
&gt; Best Regards,
&gt; George
&gt; --
&gt; George Cristian Bina
&gt; &lt;oXygen/&gt; XML Editor, Schema Editor and XSLT Editor/Debugger
&gt; http://www.oxygenxml.com
&gt;
&gt;
&gt; On 3/30/12 3:35 PM, Edwin Dankert wrote:
&gt;&gt;
&gt;&gt; Hello,
&gt;&gt;
&gt;&gt; I hope you can guide me in the best way to proceed with this validation
&gt;&gt; issue.
&gt;&gt;
&gt;&gt; I have a XML structure with most of the nodes representing simple
&gt;&gt; data, like names, references and numeric values.
&gt;&gt;
&gt;&gt; &lt;person&gt;
&gt;&gt; Â  &lt;name&gt;John&lt;name&gt;
&gt;&gt; Â  &lt;salary&gt;1000&lt;salary&gt;
&gt;&gt; &lt;/person&gt;
&gt;&gt;
&gt;&gt; However some of the numeric nodes can not only represent the data as
&gt;&gt; simple numeric values, they can also be specified as an expression and
&gt;&gt; point to other items in the document.
&gt;&gt;
&gt;&gt; &lt;person xmlns=&quot;x&quot;&gt;
&gt;&gt; Â  &lt;name&gt;John&lt;name&gt;
&gt;&gt; Â  &lt;salary&gt;100000/$no-of-employees}&lt;salary&gt;
&gt;&gt; &lt;/person&gt;
&gt;&gt;
&gt;&gt; The expression language is quite complex and cannot be represented by
&gt;&gt; a regular-expression. The syntax is however specified using EBNF and
&gt;&gt; only the syntax needs to be validated.
&gt;&gt;
&gt;&gt; A XML Schema for this exists:
&gt;&gt;
&gt;&gt; &lt;schema&gt;
&gt;&gt; Â  &lt;element name=&quot;person&quot;&gt;
&gt;&gt; Â  Â  &lt;sequence&gt;
&gt;&gt; Â  Â  Â  &lt;element name=&quot;name&quot; type=&quot;Name&quot;&gt;
&gt;&gt; Â  Â  Â  &lt;element name=&quot;salary&quot; type=&quot;string&quot;&gt;
&gt;&gt; Â  Â  &lt;/sequence&gt;
&gt;&gt; Â  &lt;/element&gt;
&gt;&gt; &lt;schema&gt;
&gt;&gt;
&gt;&gt; The goal is to have a standalone tool which can validate using the
&gt;&gt; more simple constraints specified by the schema and also validate the
&gt;&gt; values which contain the expression language.
&gt;&gt;
&gt;&gt; My preferred solution would involve validating the expression value
&gt;&gt; syntax directly from the EBNF using standard XML technologies but
&gt;&gt; don't believe this is currently an option.
&gt;&gt;
&gt;&gt; My questions now is: what would be the best way to validate these
&gt;&gt; values in your opinion or how was this solved in any of your previous
&gt;&gt; projects? (Note: The validator tool-set already includes Java, NVDL,
&gt;&gt; XSLT 2.0, XML Schema 1.0.)
&gt;&gt;
&gt;&gt; Any suggestions are very welcome.
&gt;&gt;
&gt;&gt; Thanks in advance,
&gt;&gt; Edwin
&gt;&gt;
&gt;&gt; _______________________________________________________________________
&gt;&gt;
&gt;&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt;&gt; to support XML implementation and development. To minimize
&gt;&gt; spam in the archives, you must subscribe before posting.
&gt;&gt;
&gt;&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt;&gt; Or unsubscribe: &#x78;ml-&#x64;e&#118;-u&#x6e;&#115;&#x75;bs&#99;ribe&#x40;&#108;&#105;&#115;ts&#46;x&#x6d;&#108;.o&#114;g
&gt;&gt; subscribe: x&#x6d;&#108;-dev&#45;sub&#x73;c&#x72;i&#x62;&#x65;&#x40;list&#115;&#x2e;x&#x6d;&#108;.or&#103;
&gt;&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt;&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;&gt;
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post80000.html</link><pubDate>Thu, 05 Apr 2012 10:25:44 GMT</pubDate></item><item><title>RE:  Unqualified forms and Inheritance by Restriction</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Thanks, Michael (again).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I have been back to puzzling over this, and trying slight changes in xsd, trying to make sure I understand what you wrote. I don&#8217;t think I do. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The approach I outlined seems to &#8220;trick&#8221; the tools into generating and validating the artifacts the way I wanted, but it seemed &#8220;wrong&#8221; hence the original post. I *think* your reply confirms that sense.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>It is straight forward enough to promote E1 to a global element in Base, but that does not seem to address the issues. Once I qualify the forms, the element doubles rather than being modified. It may be an error in how I do the restriction. I could promote the E1 and E2 to abstract elements, and create substitution groups, but that fails by eliminating the covariance I am striving for. E1&#8217; and E2&#8217; go together, as do E1&#8217;&#8217; and E2&#8217;&#8217;. E1&#8217; and E2&#8217;&#8217; in the same RestrictedType doesn&#8217;t work.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I could, in principle, create an approach whereby conforming derivative schemas would create instantiation of the elements, in effect requiring at the top of each conforming derived schema:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:import namespace=&quot;urn:inheritance:base&quot; schemaLocation=&quot;baseSchema.xsd&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:import namespace=&quot;urn:inheritance:base&quot; schemaLocation=&quot;someDerivation.xsd&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:import namespace=&quot;urn:inheritance:base&quot; schemaLocation=&quot;someOtherDerivation.xsd&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>And then launch into the definitions. Only E1 and E2 could be defined in =&quot;someDerivation.xsd&quot; and &nbsp;&quot;someOtherDerivation.xsd&quot;, leaving more complex definitions and the actual concrete derivatives in their own space. That feels too complex to be satisfying.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Leaving all that aside, it is not clear to me how I would do it using XSD 1.1. How would I?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>thanks <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tc<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div></div><p class=MsoNormal><span style='color:#1F497D'>&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker</span><span style='color:blue'><o:p></o:p></span></p><div><div><div><div><div><div><div><div><div class=MsoNormal><span style='color:#1F497D'><hr size=2 width="100%" align=left></span></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='color:#1F497D'>Toby Considine<br>TC9, Inc<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>TC Editor: EMIX, EnergyInterop<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><span style='color:#1F497D'><br><br><o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;<o:p></o:p></span></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='color:#1F497D'>Email: <a href="mailto:T&#x6f;by.&#67;onsid&#105;&#110;&#x65;&#x40;&#x66;&#x61;&#99;&#x2e;&#117;&#110;c.e&#x64;u" title="mailto:T&#x6f;by.&#67;onsid&#105;&#110;&#x65;&#x40;&#x66;&#x61;&#99;&#x2e;&#117;&#110;c.e&#x64;u"><span style='color:#1F497D'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>http://www.tcnine.com/<br>blog: www.NewDaedalus.com<o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Kay [mailto:mike@s...] <br><b>Sent:</b> Friday, March 16, 2012 10:53 AM<br><b>To:</b> xml-dev@l...<br><b>Subject:</b> Re:  Unqualified forms and Inheritance by Restriction<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The issue here is that if element {Base}E1 is mandatory in the base type, it's not good enough to have an element {Restricted}E1 in its place in the derived type: the elements must have the same name.<br><br>Because the element declaration isn't global, the only way you can replace it with a different element declaration of the same name is by putting that declaration in a schema document whose target namespace is {Base}.<br><br>XSD 1.1 solves this by allowing you to specify targetNamespace as an attribute on a local element declaration. In 1.0, though, there's no alternative to putting the restricted type in a schema document for the {Base} namespace -- even if this means tresspassing on someone else's namespace.<br><br>Michael Kay<br>Saxonica<br><br>On 16/03/2012 13:47, Toby Considine wrote: <o:p></o:p></p><p class=MsoNormal>I have a family of schemas for energy markets that are derived from a root abstract schema. In most cases, the derived types extend the abstract types by adding additional elements. This inheritance by addition is straight-forward.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>For one key abstract type, I use inheritance by restriction. Derived types must have all the elements of the root type, but they may be restricted to a few enumerated values. Consider the following, simplified and stripped down:<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Root Schema:<o:p></o:p></p><p class=MsoNormal>&lt;xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns=http://www.example.org/Base targetNamespace=http://www.example.org/Base elementFormDefault=&quot;qualified&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:element name=&quot;A&quot; type=&quot;AType&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexType name=&quot;AType&quot; abstract=&quot;true&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E1&quot; type=&quot;xs:string&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E2&quot; type=&quot;xs:string&quot; /&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Derivative schema<o:p></o:p></p><p class=MsoNormal>&lt;xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns=http://www.example.org/Restriction xmlns:base=http://www.example.org/Base targetNamespace=http://www.example.org/Restriction elementFormDefault=&quot;qualified&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:import namespace=http://www.example.org/Base schemaLocation=&quot;Base.xsd&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:element name=&quot;ARestricted&quot; type=&quot;ARestrictedType&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexType name=&quot;ARestrictedType&quot; abstract=&quot;false&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexContent&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;base:AType&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E1&quot;&nbsp; type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E2&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:simpleType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;xs:token&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;fie&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;foe&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:simpleType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:element&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexContent&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>The derivative schema is invalid. In particular, when processed, each element in ARestricted generates the following error:&nbsp; &quot;rcase-NameAndTypeOK.1: The declarations' {name}s and {target namespace}s are not the same: restriction element is &lt;xs:element name=&quot;itemDescription&quot;&gt; and base element is &lt;xs:element name=&quot;itemDescription&quot;&gt;.&quot; <o:p></o:p></p><p class=MsoNormal>http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#rcase-NameAndTypeOK <o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>I can avoid the error if I change each of the schemas from elementFormDefault=&quot;qualified&quot; to elementFormDefault=&quot;unqualified&quot;. The derived schema now validates using XML Spy and Liquid XML Studio. When I use the Liquid Technologies code generation tool to create software objects, the objects generate XML that looks like what I want.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Here&#8217;s the question:<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Should I be looking for some side effect of switching these schemas from qualified to unqualified? Is there some hidden problem I will come upon if I require conforming schemas to be unqualified? I generally prefer &#8220;qualified&#8221; for the esthetic reason that I like to see explicit type derivations (prefices) in the schema. I do not have a feel for what else may be affected.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>tc<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><div><div><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div></div></div><div><p class=MsoNormal>&quot;You can cut all the flowers but you cannot keep spring from coming.&quot;<b><span style='font-size:10.0pt'><br></span></b><i><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>-Pablo Neruda</span></i>.<o:p></o:p></p><div><div><div><div><div><div><div><div><div><div class=MsoNormal><hr size=2 width="100%" align=left></div></div></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Toby Considine<br>TC9, Inc<o:p></o:p></p><p class=MsoNormal>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p><p class=MsoNormal>TC Editor: EMIX, EnergyInterop<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><br><br><br><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>&nbsp;&nbsp;<o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Email: <a href="mailto:T&#x6f;by.&#67;onsid&#105;&#110;&#x65;&#x40;&#x66;&#x61;&#99;&#x2e;&#117;&#110;c.e&#x64;u" title="mailto:T&#x6f;by.&#67;onsid&#105;&#110;&#x65;&#x40;&#x66;&#x61;&#99;&#x2e;&#117;&#110;c.e&#x64;u"><span style='color:windowtext'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></p><p class=MsoNormal>http://www.tcnine.com/<br>blog: http://www.NewDaedalus.com<o:p></o:p></p></td></tr></table><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201204/post90000.html</link><pubDate>Thu, 05 Apr 2012 10:05:17 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Edwin,

You should look also into Relax NG datatype libraries - basically you 
can define a type for your expressions and write an implementation for 
that datatype for your Relax NG processor, Jing for example, then you 
should be able to use that from a Relax NG schema.

Best Regards,
George
--
George Cristian Bina
&lt;oXygen/&gt; XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 3/30/12 3:35 PM, Edwin Dankert wrote:
&gt; Hello,
&gt;
&gt; I hope you can guide me in the best way to proceed with this validation issue.
&gt;
&gt; I have a XML structure with most of the nodes representing simple
&gt; data, like names, references and numeric values.
&gt;
&gt; &lt;person&gt;
&gt;    &lt;name&gt;John&lt;name&gt;
&gt;    &lt;salary&gt;1000&lt;salary&gt;
&gt; &lt;/person&gt;
&gt;
&gt; However some of the numeric nodes can not only represent the data as
&gt; simple numeric values, they can also be specified as an expression and
&gt; point to other items in the document.
&gt;
&gt; &lt;person xmlns=&quot;x&quot;&gt;
&gt;    &lt;name&gt;John&lt;name&gt;
&gt;    &lt;salary&gt;100000/$no-of-employees}&lt;salary&gt;
&gt; &lt;/person&gt;
&gt;
&gt; The expression language is quite complex and cannot be represented by
&gt; a regular-expression. The syntax is however specified using EBNF and
&gt; only the syntax needs to be validated.
&gt;
&gt; A XML Schema for this exists:
&gt;
&gt; &lt;schema&gt;
&gt;    &lt;element name=&quot;person&quot;&gt;
&gt;      &lt;sequence&gt;
&gt;        &lt;element name=&quot;name&quot; type=&quot;Name&quot;&gt;
&gt;        &lt;element name=&quot;salary&quot; type=&quot;string&quot;&gt;
&gt;      &lt;/sequence&gt;
&gt;    &lt;/element&gt;
&gt; &lt;schema&gt;
&gt;
&gt; The goal is to have a standalone tool which can validate using the
&gt; more simple constraints specified by the schema and also validate the
&gt; values which contain the expression language.
&gt;
&gt; My preferred solution would involve validating the expression value
&gt; syntax directly from the EBNF using standard XML technologies but
&gt; don't believe this is currently an option.
&gt;
&gt; My questions now is: what would be the best way to validate these
&gt; values in your opinion or how was this solved in any of your previous
&gt; projects? (Note: The validator tool-set already includes Java, NVDL,
&gt; XSLT 2.0, XML Schema 1.0.)
&gt;
&gt; Any suggestions are very welcome.
&gt;
&gt; Thanks in advance,
&gt; Edwin
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#x78;m&#x6c;-d&#x65;&#x76;-&#x75;n&#115;&#117;b&#x73;c&#114;i&#x62;e&#64;li&#x73;&#116;&#115;&#46;&#120;m&#x6c;&#x2e;&#111;&#x72;g
&gt; subscribe: &#x78;ml-de&#x76;&#x2d;&#115;ub&#115;&#99;rib&#101;&#x40;l&#x69;&#115;&#116;s.xml&#46;o&#x72;g
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post70000.html</link><pubDate>Wed, 04 Apr 2012 21:56:39 GMT</pubDate></item><item><title>[announcement] XForms and XQuery courses, June 2012 in Rockville, Maryla</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
[This announcement will be of interest primarily to those living
in or near Washington, DC, or planning to travel there for the
Joint Conference on Digital Libraries this June, and to those
interested in XForms and/or XQuery training.  If you know others
who meet that description, please forward this announcement to
them.  Thanks!  Others may stop reading now.]

Black Mesa Technologies is pleased to announce two hands-on
introductory courses, one on XForms and one on XQuery, to take place
in June 2012, in Rockville, Maryland (immediately before and after the
ACM/IEEE-CS Joint Conference on Digital Libraries on 10-14 June 2012
at George Washington University in Washington, DC).


INTRODUCTION TO XFORMS FOR XML USERS

   8-9 June 2012, 9:30 - 5:30
   http://www.blackmesatech.com/2012/06/xforms/

   XForms allows you to develop vocabulary- and task-specific editors
   which require less training and provide better task-specific
   support than full XML editors; domain experts can thus examine and
   modify XML encoding mor easily, and routine tasks can be performed
   more quickly and reliably.

   This course introduces XForms as a technology for building
   special-purpose XML editors with focused functionality and
   correspondingly simple user interfaces. XForms is built on the
   model / view / controller idiom, in which the 'model' is a set of
   XML documents, the 'view' is specified using XHTML and XForms
   widgets, and the 'controller' takes the form of declarative links
   between widgets and elements or attributes in the XML documents.


XQUERY FOR DOCUMENTS

   15-16 June 2012, 9:30 - 5:30
   http://www.blackmesatech.com/2012/06/xquery/

   This course introduces XQuery as a flexible language for working
   with natural-language documents (books, prose, verse, drama,
   correspondence, historical documents, articles, legislation, etc.)
   encoded in XML. The focus is on the application of XQuery to
   textual material with complex and variable structure, as opposed to
   the typically simpler, more regular structures of data-oriented
   XML.  The course will cover XPath location paths, atomic values,
   sequences of values, the XDM data model, FLWOR expressions,
   function declarations, regular expressions and string manipulation,
   collections, and the full-text extensions to XQuery.


LOGISTICS

The courses will be held Friday and Saturday, 8-9 June 2012 (XForms)
and Friday and Saturday, 15-16 June 2012 (XQuery), from 9:30 a.m. to
5:30 p.m. at

   Mulberry Technologies, Inc.
   17 West Jefferson St., Suite 207
   Rockville, MD 20850

For other logistical information, see 

    http://www.blackmesatech.com/2011/06/xforms
    http://www.blackmesatech.com/2011/06/xquery

Thanks to Mulberry Technologies for hosting the courses.
 
Other courses that may be relevant to potential attendees (XML Basics,
Schematron, XSLT/XPath Basics, and XSL-FO) are offered in the same
venue on earlier days; see Mulberry Technologies' list of upcoming
classes at

  http://www.mulberrytech.com/services/classes/upcoming.html


REGISTRATION / INFO

To reserve a space, to register, or to ask for more information,
please send email to i&#110;f&#111;&#64;blackme&#115;&#97;&#x74;e&#99;&#x68;.&#x63;&#x6f;&#x6d; or call us at
505/747-4224.


FUTURE ANNOUNCEMENTS

[If you'd like to receive announcements of future courses (etc.) by
email, go to http://lists.blackmesatech.com/blackmesatech-announce-l/
to sign up for the Black Mesa Technologies announcement list.]
 

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************




</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post60000.html</link><pubDate>Tue, 03 Apr 2012 17:35:19 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hello David,

&gt; If you wanted to stick to pure xml solutions without using extensions to
&gt; another language you could look at Dimitre Novatchev's LR parser
&gt; generator written in Xpath.

Thank you very much for this, this looks very impressive and I will
definitely give it a try.

Kind regards,
Edwin

On 2 April 2012 10:56, David Carlisle &lt;&#100;a&#118;&#x69;d&#x63;&#64;&#110;&#97;&#103;&#46;c&#111;&#x2e;&#117;k&gt; wrote:
&gt; On 30/03/2012 13:35, Edwin Dankert wrote:
&gt;&gt;
&gt;&gt; The expression language is quite complex and cannot be represented by
&gt;&gt; a regular-expression. The syntax is however specified using EBNF and
&gt;&gt; only the syntax needs to be validated.
&gt;
&gt;
&gt;
&gt; If you wanted to stick to pure xml solutions without using extensions to
&gt; another language you could look at Dimitre Novatchev's LR parser
&gt; generator written in Xpath. I thought he had a blog entry describing it,
&gt; but I didn't see that just now but here's an answer on stack overflow
&gt; giving some description and pointers to the code (which is open source
&gt; on sourceforge)
&gt;
&gt; http://stackoverflow.com/questions/3555211/steps-and-involvement-of-implementing-a-parser-in-net-and-in-this-case-xpath
&gt;
&gt; You could (in theory) use this to write an xpath validating your grammar
&gt; and call that from, say, a schematron rule.
&gt;
&gt; David
&gt;
&gt; --
&gt; google plus: https:/profiles.google.com/d.p.carlisle
&gt;
&gt; ________________________________________________________________________
&gt; The Numerical Algorithms Group Ltd is a company registered in England
&gt; and Wales with company number 1249803. The registered office is:
&gt; Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
&gt;
&gt; This e-mail has been scanned for all viruses by Star. The service is
&gt; powered by MessageLabs.
&gt; ________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post50000.html</link><pubDate>Mon, 02 Apr 2012 11:35:57 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 30/03/2012 13:35, Edwin Dankert wrote:
&gt; The expression language is quite complex and cannot be represented by
&gt; a regular-expression. The syntax is however specified using EBNF and
&gt; only the syntax needs to be validated.


If you wanted to stick to pure xml solutions without using extensions to
another language you could look at Dimitre Novatchev's LR parser
generator written in Xpath. I thought he had a blog entry describing it,
but I didn't see that just now but here's an answer on stack overflow
giving some description and pointers to the code (which is open source
on sourceforge)

http://stackoverflow.com/questions/3555211/steps-and-involvement-of-implementing-a-parser-in-net-and-in-this-case-xpath

You could (in theory) use this to write an xpath validating your grammar
and call that from, say, a schematron rule.

David

-- 
google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post40000.html</link><pubDate>Mon, 02 Apr 2012 10:56:11 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
 &gt;Is there an agreed validation mechanism for open-standards based on 
XML, i.e. do they only release a set of files which allow for validation 
(xml schema, relaxng) or do they release a tool which provides the 
validation when not all constraints can be captured using these languages?

I think practice is highly variable. Some open standards groups consider 
it enough to produce a prose specification, and leave all tooling 
questions entirely to implementors. Some consider it appropriate to 
supplement the prose specifications with things such as XML Schema or 
Relax NG definitions, which they will probably want to ensure are 
portable across multiple processors. Some consider it appropriate to 
provide an online validation service, which can be implemented using any 
tools you like.

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post30000.html</link><pubDate>Mon, 02 Apr 2012 10:46:15 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hello John,

Thank you very much for this.

&gt; Then it is certainly beyond the power of any standard XML tool.  You will
&gt; have to translate the EBNF into an ANTLR or Packrat grammar, or something
&gt; similar depending on what language you are using.  This should be a
&gt; straightforward effort.

I was afraid of that but I was hopeful that some of the people on this
list might have implemented this in a different way, because I believe
in theory the following should be possible:

&lt;rules xmlns=&quot;http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0&quot;&gt;
  &lt;namespace ns=&quot;ns&quot;&gt;
    &lt;validate schema=&quot;test.ebnf&quot; schemaType=&quot;application/ebnf&quot;/&gt;
  &lt;/namespace&gt;
  ...
&lt;/rules&gt;

Kind regards,
Edwin

On 30 March 2012 16:22, John Cowan &lt;c&#111;&#119;&#97;&#110;&#64;&#109;er&#x63;&#117;&#x72;y.c&#99;&#105;&#108;.&#x6f;&#x72;&#x67;&gt; wrote:
&gt; Edwin Dankert scripsit:
&gt;
&gt;&gt; The expression language is quite complex and cannot be represented by
&gt;&gt; a regular-expression. The syntax is however specified using EBNF and
&gt;&gt; only the syntax needs to be validated.
&gt;
&gt; Then it is certainly beyond the power of any standard XML tool. Â You will
&gt; have to translate the EBNF into an ANTLR or Packrat grammar, or something
&gt; similar depending on what language you are using. Â This should be a
&gt; straightforward effort.
&gt;
&gt; --
&gt; John Cowan Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â &#99;o&#x77;&#97;n&#64;cc&#105;&#108;.o&#114;g
&gt; Â  Â  Â  Â  Â  Â http://www.ccil.org/~cowan
&gt; Humpty Dump Dublin squeaks through his norse
&gt; Â  Â  Â  Â  Â  Â  Â  Â Humpty Dump Dublin hath a horrible vorse
&gt; But for all his kinks English / And his irismanx brogues
&gt; Â  Â  Â  Â  Â  Â  Â  Â Humpty Dump Dublin's grandada of all rogues. Â --Cousin James
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post20000.html</link><pubDate>Mon, 02 Apr 2012 10:39:10 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hello Michael,

Thank you very much for your reply. I really like this solution (and I
wasn't aware of this feature in Saxon) it would fit in very nicely
with our current set of tools and it would allow to specify this
complex constraint in the same place as the definition of the element
in the XML Schema.

However the validation tool we're trying to put together is supposed
to support an open standard and even though I believe that at least
everybody on this list should buy a copy of your tools if only to
support your enormous contribution to the XML language and community,
I am not sure if I can convince the others in the standardisation
committee.

This actually brings me to a separate but I think related question:

Is there an agreed validation mechanism for open-standards based on
XML, i.e. do they only release a set of files which allow for
validation (xml schema, relaxng) or do they release a tool which
provides the validation when not all constraints can be captured using
these languages? Note: not sure what the distinction is between a
validation tool and a validation schema, when considering NVDL,
Schematron and XSLT, XProc.

What I am trying to find out is if it would be acceptable for the
standard to include in their schemas assertions which are tied to a
specific schema processor and force each member/consumer which wants
to validate their data 'fully' to buy a license of this third party
tool? Note: this assumes that these third-party assertions are ignored
by other tools, so the consumers can still validate their data up-to a
certain level.

Kind regards,
Edwin

On 30 March 2012 17:34, Michael Kay &lt;&#x6d;ike&#x40;&#115;axon&#105;c&#x61;&#46;co&#109;&gt; wrote:
&gt; If you don't mind a solution that's tied to one schema processor, Saxon
&gt; allows you to use the XSD 1.1 xs:assert feature, and to call out to java
&gt; from the assertions, so you can do arbitrarily complex procedural
&gt; validation.
&gt;
&gt; Michael Kay
&gt; Saxonica
&gt;
&gt;
&gt; On 30/03/2012 13:35, Edwin Dankert wrote:
&gt;&gt;
&gt;&gt; Hello,
&gt;&gt;
&gt;&gt; I hope you can guide me in the best way to proceed with this validation
&gt;&gt; issue.
&gt;&gt;
&gt;&gt; I have a XML structure with most of the nodes representing simple
&gt;&gt; data, like names, references and numeric values.
&gt;&gt;
&gt;&gt; &lt;person&gt;
&gt;&gt; Â  &lt;name&gt;John&lt;name&gt;
&gt;&gt; Â  &lt;salary&gt;1000&lt;salary&gt;
&gt;&gt; &lt;/person&gt;
&gt;&gt;
&gt;&gt; However some of the numeric nodes can not only represent the data as
&gt;&gt; simple numeric values, they can also be specified as an expression and
&gt;&gt; point to other items in the document.
&gt;&gt;
&gt;&gt; &lt;person xmlns=&quot;x&quot;&gt;
&gt;&gt; Â  &lt;name&gt;John&lt;name&gt;
&gt;&gt; Â  &lt;salary&gt;100000/$no-of-employees}&lt;salary&gt;
&gt;&gt; &lt;/person&gt;
&gt;&gt;
&gt;&gt; The expression language is quite complex and cannot be represented by
&gt;&gt; a regular-expression. The syntax is however specified using EBNF and
&gt;&gt; only the syntax needs to be validated.
&gt;&gt;
&gt;&gt; A XML Schema for this exists:
&gt;&gt;
&gt;&gt; &lt;schema&gt;
&gt;&gt; Â  &lt;element name=&quot;person&quot;&gt;
&gt;&gt; Â  Â  &lt;sequence&gt;
&gt;&gt; Â  Â  Â  &lt;element name=&quot;name&quot; type=&quot;Name&quot;&gt;
&gt;&gt; Â  Â  Â  &lt;element name=&quot;salary&quot; type=&quot;string&quot;&gt;
&gt;&gt; Â  Â  &lt;/sequence&gt;
&gt;&gt; Â  &lt;/element&gt;
&gt;&gt; &lt;schema&gt;
&gt;&gt;
&gt;&gt; The goal is to have a standalone tool which can validate using the
&gt;&gt; more simple constraints specified by the schema and also validate the
&gt;&gt; values which contain the expression language.
&gt;&gt;
&gt;&gt; My preferred solution would involve validating the expression value
&gt;&gt; syntax directly from the EBNF using standard XML technologies but
&gt;&gt; don't believe this is currently an option.
&gt;&gt;
&gt;&gt; My questions now is: what would be the best way to validate these
&gt;&gt; values in your opinion or how was this solved in any of your previous
&gt;&gt; projects? (Note: The validator tool-set already includes Java, NVDL,
&gt;&gt; XSLT 2.0, XML Schema 1.0.)
&gt;&gt;
&gt;&gt; Any suggestions are very welcome.
&gt;&gt;
&gt;&gt; Thanks in advance,
&gt;&gt; Edwin
&gt;&gt;
&gt;&gt; _______________________________________________________________________
&gt;&gt;
&gt;&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt;&gt; to support XML implementation and development. To minimize
&gt;&gt; spam in the archives, you must subscribe before posting.
&gt;&gt;
&gt;&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt;&gt; Or unsubscribe: &#x78;ml-de&#118;-u&#110;&#x73;&#x75;b&#x73;&#99;ri&#98;e&#x40;l&#x69;sts.&#x78;&#x6d;l&#x2e;o&#114;g
&gt;&gt; subscribe: &#120;&#109;l&#45;&#x64;&#101;&#x76;&#x2d;&#x73;ubs&#99;r&#105;&#x62;&#101;&#x40;l&#105;&#x73;ts.&#x78;&#x6d;l&#46;&#x6f;&#x72;&#x67;
&gt;&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt;&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;&gt;
&gt;&gt;
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#109;l&#x2d;de&#x76;&#x2d;&#117;&#110;&#x73;&#x75;&#x62;s&#99;&#x72;&#x69;&#x62;e&#x40;&#x6c;is&#x74;&#115;&#46;x&#109;l&#46;&#111;&#x72;g
&gt; subscribe: xml-&#x64;&#x65;&#118;-s&#117;b&#x73;c&#x72;i&#98;e&#64;&#108;ist&#115;&#x2e;x&#x6d;&#108;.org
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post10000.html</link><pubDate>Mon, 02 Apr 2012 10:38:51 GMT</pubDate></item><item><title>Generate xml instance from DTD?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
http://java.net/downloads/msv/nightly/
Ex Sun xmlgen generates test content from a DTD/Schema,
but uses Japanese content?

 From the help there seems no way to request English content?

Anyone know of other such generators please?
Input Schema, root element, output, random, valid XML?



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201204/post00000.html</link><pubDate>Mon, 02 Apr 2012 08:30:40 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
If you don't mind a solution that's tied to one schema processor, Saxon 
allows you to use the XSD 1.1 xs:assert feature, and to call out to java 
from the assertions, so you can do arbitrarily complex procedural 
validation.

Michael Kay
Saxonica

On 30/03/2012 13:35, Edwin Dankert wrote:
&gt; Hello,
&gt;
&gt; I hope you can guide me in the best way to proceed with this validation issue.
&gt;
&gt; I have a XML structure with most of the nodes representing simple
&gt; data, like names, references and numeric values.
&gt;
&gt; &lt;person&gt;
&gt;    &lt;name&gt;John&lt;name&gt;
&gt;    &lt;salary&gt;1000&lt;salary&gt;
&gt; &lt;/person&gt;
&gt;
&gt; However some of the numeric nodes can not only represent the data as
&gt; simple numeric values, they can also be specified as an expression and
&gt; point to other items in the document.
&gt;
&gt; &lt;person xmlns=&quot;x&quot;&gt;
&gt;    &lt;name&gt;John&lt;name&gt;
&gt;    &lt;salary&gt;100000/$no-of-employees}&lt;salary&gt;
&gt; &lt;/person&gt;
&gt;
&gt; The expression language is quite complex and cannot be represented by
&gt; a regular-expression. The syntax is however specified using EBNF and
&gt; only the syntax needs to be validated.
&gt;
&gt; A XML Schema for this exists:
&gt;
&gt; &lt;schema&gt;
&gt;    &lt;element name=&quot;person&quot;&gt;
&gt;      &lt;sequence&gt;
&gt;        &lt;element name=&quot;name&quot; type=&quot;Name&quot;&gt;
&gt;        &lt;element name=&quot;salary&quot; type=&quot;string&quot;&gt;
&gt;      &lt;/sequence&gt;
&gt;    &lt;/element&gt;
&gt; &lt;schema&gt;
&gt;
&gt; The goal is to have a standalone tool which can validate using the
&gt; more simple constraints specified by the schema and also validate the
&gt; values which contain the expression language.
&gt;
&gt; My preferred solution would involve validating the expression value
&gt; syntax directly from the EBNF using standard XML technologies but
&gt; don't believe this is currently an option.
&gt;
&gt; My questions now is: what would be the best way to validate these
&gt; values in your opinion or how was this solved in any of your previous
&gt; projects? (Note: The validator tool-set already includes Java, NVDL,
&gt; XSLT 2.0, XML Schema 1.0.)
&gt;
&gt; Any suggestions are very welcome.
&gt;
&gt; Thanks in advance,
&gt; Edwin
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#109;l&#x2d;&#100;&#101;&#x76;-&#x75;ns&#x75;&#x62;&#x73;&#99;ri&#x62;&#101;&#x40;l&#105;&#x73;t&#115;&#x2e;&#120;m&#x6c;.&#x6f;&#114;&#103;
&gt; subscribe: xml-d&#x65;&#x76;&#x2d;&#x73;u&#98;scribe&#x40;&#x6c;&#x69;s&#x74;s.x&#109;l&#46;org
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80140.html</link><pubDate>Fri, 30 Mar 2012 17:34:58 GMT</pubDate></item><item><title>Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hello,

I hope you can guide me in the best way to proceed with this validation issue.

I have a XML structure with most of the nodes representing simple
data, like names, references and numeric values.

&lt;person&gt;
  &lt;name&gt;John&lt;name&gt;
  &lt;salary&gt;1000&lt;salary&gt;
&lt;/person&gt;

However some of the numeric nodes can not only represent the data as
simple numeric values, they can also be specified as an expression and
point to other items in the document.

&lt;person xmlns=&quot;x&quot;&gt;
  &lt;name&gt;John&lt;name&gt;
  &lt;salary&gt;100000/$no-of-employees}&lt;salary&gt;
&lt;/person&gt;

The expression language is quite complex and cannot be represented by
a regular-expression. The syntax is however specified using EBNF and
only the syntax needs to be validated.

A XML Schema for this exists:

&lt;schema&gt;
  &lt;element name=&quot;person&quot;&gt;
    &lt;sequence&gt;
      &lt;element name=&quot;name&quot; type=&quot;Name&quot;&gt;
      &lt;element name=&quot;salary&quot; type=&quot;string&quot;&gt;
    &lt;/sequence&gt;
  &lt;/element&gt;
&lt;schema&gt;

The goal is to have a standalone tool which can validate using the
more simple constraints specified by the schema and also validate the
values which contain the expression language.

My preferred solution would involve validating the expression value
syntax directly from the EBNF using standard XML technologies but
don't believe this is currently an option.

My questions now is: what would be the best way to validate these
values in your opinion or how was this solved in any of your previous
projects? (Note: The validator tool-set already includes Java, NVDL,
XSLT 2.0, XML Schema 1.0.)

Any suggestions are very welcome.

Thanks in advance,
Edwin
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40140.html</link><pubDate>Fri, 30 Mar 2012 13:35:32 GMT</pubDate></item><item><title>Unique European XML lectures by expert Ken Holman</title><description><![CDATA[<!--X-Body-of-Message-->
<address>Title: <strong>[Test]: Unique XML lectures by Ken Holman</strong></address>
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    Open Source Academy has found Mr. G. Ken Holman, renowned XML
    expert, willing to come over to Europe to present a series of four
    courses on XML, XSLT and e-commerce. This is a unique one-time
    opportunity to learn first hand from a trainer that is at the
    forefront of XML developments and standardization.
    <p>The following courses will be presented by Mr Holman:</p>
    <ul>
      <li>CS140 Practical Transformation using XSLT and XPATH Â Â  5 Days,
        May 14 -18 2012<br>
      </li>
      <li>CS141 Practical Formatting with XSL-FOÂ Â Â  3 Days, May 21 -23
        2012<br>
      </li>
      <li>CS142 Universal Business Language DeploymentÂ Â Â  1 Day, 24 May
        2012<br>
      </li>
      <li>CS143 Universal Code ListsÂ Â Â  1 Day, 25 May 2012<br>
      </li>
    </ul>
    <p>The CS140 and CS141 are of particular interest to anyone working
      with, processing, or developing XML applications that need to
      transform documents from one XML format to another. XSL-FO,
      presented in the CS141, offers to generate printed output in PDF
      and other paged output formats. The two courses combined learn how
      to transform any XML document into XSL-FO and then to a paged
      output format. These courses are technical in nature, aimed at
      developers.</p>
    <p>The CS142 and CS143 courses present the Universal Business
      Language. UBL is the product of an international effort to define
      a library of standard electronic XML business documents for
      purchase orders and invoices. The UBL format has been selected by
      many European governments for e-invoicing and e-government
      interaction. Code Lists are used in UBL for representation of
      controlled vocabularies or coded value enumerations in UBL
      exchanges. These two courses are more conceptual, aimed at both
      Information Architects and Developers of e-commerce systems.<br>
    </p>
    <p>Courses will be held at de Meern, near Utrecht, the Netherlands.
      Registration is open now. The number of seats is limited to 12 per
      session. Full information these courses on the <a
        moz-do-not-send="true" title="Read more"
        href="http://www.opensourceacademy.nl/index.php?id=56&amp;L=1">OSA


        website.</a><br>
    </p>
    <p><small>If this e-mail is of no interest to you, Please forward it
        to someone you know that might be interested. Your help is
        appreciated!</small><br>
    </p>
    <p>Hope to meet you in May,<br>
    </p>
    <table border="0" cellpadding="2" cellspacing="2" height="215"
      width="483">
      <tbody>
        <tr>
          <td valign="top" width="100"><img moz-do-not-send="false"
              src="png00000.png"
              alt="OSA logo" height="200" width="200"></td>
          <td valign="top" width="400">Vriendelijke Groet / Kind
            Regards,<br>
            Reinier Kleipool<br>
            <br>
            <strong>Open Source Academy</strong><br>
            Rotterdamserijweg 122<br>
            3042 AS Rotterdam<br>
            the Netherlands<br>
            T: +31 654 227144<br>
            E: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:&#114;e&#105;&#x6e;i&#101;r&#64;&#111;p&#x65;&#x6e;&#x73;o&#x75;&#114;&#99;&#101;&#x61;cade&#109;y.nl">&#114;e&#105;&#x6e;i&#101;r&#64;&#111;p&#x65;&#x6e;&#x73;o&#x75;&#114;&#99;&#101;&#x61;cade&#109;y.nl</a><br>
          </td>
        </tr>
      </tbody>
    </table>
    <br>
    <img moz-do-not-send="true"
src="javascript:void(0);"
      height="1" width="1">
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30140.html</link><pubDate>Fri, 30 Mar 2012 12:38:21 GMT</pubDate></item><item><title>Re:  Validation of complex content</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Edwin Dankert scripsit:

&gt; The expression language is quite complex and cannot be represented by
&gt; a regular-expression. The syntax is however specified using EBNF and
&gt; only the syntax needs to be validated.

Then it is certainly beyond the power of any standard XML tool.  You will
have to translate the EBNF into an ANTLR or Packrat grammar, or something
similar depending on what language you are using.  This should be a
straightforward effort.

-- 
John Cowan                              &#99;ow&#97;&#x6e;&#x40;&#x63;c&#105;l.&#x6f;&#114;&#x67;
            http://www.ccil.org/~cowan
Humpty Dump Dublin squeaks through his norse
                Humpty Dump Dublin hath a horrible vorse
But for all his kinks English / And his irismanx brogues
                Humpty Dump Dublin's grandada of all rogues.  --Cousin James
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70140.html</link><pubDate>Fri, 30 Mar 2012 11:22:56 GMT</pubDate></item><item><title>Re:  Boolean XML</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
At 2012-03-30 10:48 -0400, Toby Considine wrote:
&gt;I have a project wherein I may need to parameterize some Boolean 
&gt;service criteria as they apply to service interactions
&gt;
&gt;Apply this service request to all types that match A, where A may be
&gt;
&gt;
&gt;(A)
&gt;(A)OR(B)
&gt;(A)AND(B)AND(C)
&gt;(A)NOT(B)
&gt;
&gt;Etc.
&gt;
&gt;Is there is some standard dialect or pattern for expressing Boolean 
&gt;selections in XML? I would prefer to do this in some standard way 
&gt;rather than inventing my new, exciting, better, but, sadly, 
&gt;different, means of doing so.

Logical expressions are often written in XPath, a flat non-XML syntax 
with keywords &quot;or&quot; and &quot;and&quot; and the function &quot;not()&quot;:

   http://www.w3.org/TR/2007/REC-xpath20-20070123/#id-logical-expressions
   http://www.w3.org/TR/2007/REC-xpath-functions-20070123/#boolean-functions

&gt;Any pointers or discussion of folks favorite way to accomplish this?

One candidate XML syntax would be XQueryX:

   &lt;xqx:andOp&gt;
     &lt;xqx:firstOperand&gt;...&lt;/xqx:firstOperand&gt;
     &lt;xqx:secondOperand&gt;...&lt;/xqx:secondOperand&gt;
   &lt;/xqx:andOp&gt;
   &lt;xqx:orOp&gt;
     &lt;xqx:firstOperand&gt;...&lt;/xqx:firstOperand&gt;
     &lt;xqx:secondOperand&gt;...&lt;/xqx:secondOperand&gt;
   &lt;/xqx:orOp&gt;
   &lt;xqx:functionCallExpr&gt;
     &lt;xqx:functionName&gt;not&lt;/xqx:functionName&gt;
     &lt;xqx:arguments&gt;
     ...
     &lt;/xqx:arguments&gt;
   &lt;/xqx:functionCallExpr&gt;

   http://www.w3.org/TR/2007/REC-xqueryx-20070123/

I hope this helps.

. . . . . . . Ken

--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- May 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   <A  HREF="mailto:gkho&#x6c;&#109;a&#110;&#x40;C&#x72;&#x61;neSof&#116;w&#x72;&#105;g&#x68;&#x74;s.c&#x6f;m">mailto:gkho&#x6c;&#109;a&#110;&#x40;C&#x72;&#x61;neSof&#116;w&#x72;&#105;g&#x68;&#x74;s.c&#x6f;m</A>
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60140.html</link><pubDate>Fri, 30 Mar 2012 11:05:39 GMT</pubDate></item><item><title>Boolean XML</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal>I have a project wherein I may need to parameterize some Boolean service criteria as they apply to service interactions<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Apply this service request to all types that match A, where A may be<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>(A)<o:p></o:p></p><p class=MsoNormal>(A)OR(B)<o:p></o:p></p><p class=MsoNormal>(A)AND(B)AND(C)<o:p></o:p></p><p class=MsoNormal>(A)NOT(B)<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Etc.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Is there is some standard dialect or pattern for expressing Boolean selections in XML? I would prefer to do this in some standard way rather than inventing my new, exciting, better, but, sadly, different, means of doing so.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Any pointers or discussion of folks favorite way to accomplish this?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>tc<o:p></o:p></p><div><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div></div><div><p class=MsoNormal><span style='color:black'>&quot;</span>You can cut all the flowers but you cannot keep spring from coming.&quot;<b><span style='font-size:10.0pt'><br></span></b><i><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>-Pablo Neruda</span></i><span style='color:black'>.<o:p></o:p></span></p><div><div><div><div><div><div><div><div><div class=MsoNormal><hr size=2 width="100%" align=left></div></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Toby Considine<br>TC9, Inc<o:p></o:p></p><p class=MsoNormal>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p><p class=MsoNormal>TC Editor: EMIX, EnergyInterop<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><br><br><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>&nbsp;&nbsp;<o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Email: <a href="mailto:T&#x6f;by.Co&#x6e;&#115;&#x69;&#x64;ine&#x40;fac.un&#99;&#x2e;&#101;du" title="mailto:T&#x6f;by.Co&#x6e;&#115;&#x69;&#x64;ine&#x40;fac.un&#99;&#x2e;&#101;du"><span style='color:windowtext'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></p><p class=MsoNormal>http://www.tcnine.com/<br>blog: www.NewDaedalus.com<o:p></o:p></p></td></tr></table><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50140.html</link><pubDate>Fri, 30 Mar 2012 10:48:21 GMT</pubDate></item><item><title>[ANN] Open Source XHTML 5 Resources</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    <p>http://xmlmind.com/xhtml5_resources.shtmlXMLmind is happy to announce
      "Open Source XHTML 5 Resources"<br>
      &nbsp;&nbsp; __________________________________________________ <br>
      <br>
    </p>
    <p>XHTML&nbsp;5 resources comprising a robust, self-contained, W3C XML
      Schema for XHTML&nbsp;5 <br>
      and highly parameterizable, easy to customize, XSLT&nbsp;2 stylesheets
      allowing <br>
      to transform XHTML 1.0, 1.1, 5.0 to XSL-FO.<br>
    </p>
    <p>These XHTML&nbsp;5 resources are software components used<br>
      to add XHTML support to http://www.xmlmind.com/xmleditor/. </p>
    <p>More information: <br>
      http://xmlmind.com/xhtml5_resources.shtml
    </p>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20140.html</link><pubDate>Wed, 28 Mar 2012 10:25:39 GMT</pubDate></item><item><title>[ANN] Release of XMLmind XSL-FO Converter v4.6.1</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
XMLmind is happy to announce the version 4.6.1 of XMLmind XSL-FO Converter.
    ____________________________________________

XMLmind XSL-FO Converter Personal Edition v4.6.1 can be downloaded from 
http://www.xmlmind.com/foconverter/downloadperso.shtml

Professional Edition users, please upgrade using this form: 
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through 
http://www.xmlmind.com/foconverter/upgrade.html.)
    _____________________________________________

XMLmind XSL-FO Converter v4.6.1 (March 23, 2012):

XMLmind XSL Utility and XMLmind XSL Server:

* now integrate much improved XMLmind DITA Converter
   (ditac) v2.2;

* use new XSLT 2 stylesheets allowing to convert XHTML 1.0,
   1.1 and 5.0 documents to PostScript, PDF, RTF, WordprocessingML,
   Office Open XML (.docx) and OpenOffice (.odt).

   These XSLT 2 stylesheets support a large number of parameters.
   They make an extensive use of xsl:attribute-sets.
   Last but not least, by default, CSS styles specified in
   XHTML style attributes, style and link elements also apply
   to the XSL-FO file generated by these XSLT 2 stylesheets.
    _____________________________________________

More information:
http://www.xmlmind.com/foconverter/changes.html


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10140.html</link><pubDate>Mon, 26 Mar 2012 12:45:09 GMT</pubDate></item><item><title>[ANN] BaseX 7.2: The EDBT Release</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Dear all,

after some busy weeks, we are glad to announce BaseX 7.2, the EDBT
Release! The latest version offers the following new features:

* support for the new RESTXQ API for building XQuery web services [1]
* improved support for running BaseX as web application [2]
* XQuery: higher order functions added to speed up Top-K queries [3]
* proxy server settings added [4]
* advanced TagSoup options added for importing HTML files [5]
* XQuery: faster traversal of full-text index entries via ft:tokens() [6]
* Command-line: embedded readline and history support via JLine [7]
* XQuery 3.0: annotation added, updated EQName syntax (Q{uri}name)
* opened databases are now pinned OS-wide to reduce write conflicts
* HTML5 serialization of query results
* a printable version of our Wiki documentation

As usual, more infos can be found on our homepage [8]. All your
feedback is welcome. If you will be attending the EDBT Conference next
week, we are looking forward to seeing you there,

Christian,
BaseX Team 2012

[1] http://docs.basex.org/wiki/RESTXQ
[2] http://docs.basex.org/wiki/Web_Application
[3] http://docs.basex.org/wiki/Higher-Order_Functions_Module#hof:top-k-by
[4] http://docs.basex.org/wiki/Options#PROXYHOST
[5] http://docs.basex.org/wiki/Parsers#Options
[6] http://docs.basex.org/wiki/Full-Text_Module#ft:tokens
[7] http://jline.sourceforge.net/
[8] http://basex.org/
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00140.html</link><pubDate>Sat, 24 Mar 2012 19:30:33 GMT</pubDate></item><item><title>[ANN] Zorba 2.2 &amp;quot;Coeus&amp;quot; is out</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hello Gang,

We are very excited to announce the release of Zorba 2.2, codename &quot;Coeus&quot;.
The release announcement is available at
http://www.zorba-xquery.com/html/entry/2012/03/22/Zorba_22 and the
ChangeLog at https://launchpadlibrarian.net/97678336/ChangeLog.

We hope that you will enjoy this release.

May the FLWOR be with you,

William

--
http://www.28msec.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90130.html</link><pubDate>Fri, 23 Mar 2012 11:13:27 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Thanks to everyone for comments on this thread today.  Most useful food for 
thought.

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
----- Original Message ----- 
From: &quot;David Lee&quot; &lt;dl&#101;e&#64;ca&#x6c;&#108;&#100;&#x65;&#105;&#x2e;com&gt;
To: &quot;Pete Cordell&quot; &lt;&#112;et&#x65;xm&#x6c;&#100;&#x65;&#118;&#x40;co&#x64;&#97;&#x6c;ogic&#x2e;c&#x6f;m&gt;; &lt;xml-dev@l...&gt;
Sent: Monday, March 19, 2012 1:45 PM
Subject: RE:  Using XML (or JSON) for inter-thread communication


Nothing multithreaded is ever simplified :)
However point taken.  This is a common use case for example BPEL defines 
endpoints in such a way that can be multithreaded or multi system (but it 
uses that legacy protocol some may have heard of &quot;SOAP&quot;).

xmlsh does this in the language itself ... for threads within an xmlsh 
runtime.
Pipelines (a | b ) are run as seperate threads.   Variables can be shared 
across threads.  Starting a new thread ( with &quot;cmd &amp;&quot; ) can share 
(copy-on-write)  all exported variables from the parent environment and can 
return values but outputting to a named port.
Out of process or server communications  can be shared by starting a mini 
HTTP server (httpserver) and then data (xml or otherwise) can be pushed 
through it.

Similarly XProc is designed so it could be multithreaded or multi-server. I 
dont know of any implementations that currently do, but the design was 
intended to allow such a  thing.

And one step up.   the entire internet is designed this way.
Although protocols and implementations vary.


----------------------------------------
David A. Lee
&#100;l&#101;&#x65;&#64;&#99;&#x61;&#108;l&#x64;ei&#46;co&#109;
http://www.xmlsh.org

&gt; -----Original Message-----
&gt; From: Pete Cordell [<A  HREF="mailto:pe&#x74;exm&#x6c;&#x64;&#x65;v&#x40;c&#x6f;d&#x61;log&#x69;&#x63;.com">mailto:pe&#x74;exm&#x6c;&#x64;&#x65;v&#x40;c&#x6f;d&#x61;log&#x69;&#x63;.com</A>]
&gt; Sent: Monday, March 19, 2012 9:34 AM
&gt; To: &#120;m&#108;-d&#101;&#118;&#64;&#108;&#x69;&#x73;&#116;&#x73;&#x2e;&#120;&#x6d;&#108;&#x2e;&#111;&#114;&#x67;
&gt; Subject:  Using XML (or JSON) for inter-thread communication
&gt;
&gt; We all know that increasing processor speed has pretty much run its course
&gt; (for now) and that the way to increased system performance is via using
&gt; multiple cores and threads.  However, parallel programming is difficult.
&gt;
&gt; One of the problems is sharing state across threads and getting race
&gt; conditions etc.
&gt;
&gt; However, systems like web services are effectively multi-process /
&gt; multi-threaded and seem to scale well.  Quite often web services (and
&gt; systems like them) use XML or JSON to communicate between the various
&gt; systems.
&gt;
&gt; Which makes me wonder, can you compress the 'web services' model down to
&gt; the
&gt; level of threads and use XML or JSON for your inter-thread communication?
&gt; Can you define your interfaces using some sort of schema and use REST or
&gt; similar approaches?  Would this help simplify parallel programming, 
&gt; perhaps
&gt; as one of a basket of techniques?
&gt;
&gt; Does anybody have any thoughts on this?
&gt;
&gt; Thanks,
&gt;
&gt; Pete Cordell
&gt; Codalogic Ltd
&gt; Interface XML to C++ the easy way using C++ XML
&gt; data binding to convert XSD schemas to C++ classes.
&gt; Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
&gt; for more info
&gt;
&gt;
&gt; ___________________________________________________________________
&gt; ____
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: xm&#x6c;&#45;d&#x65;&#x76;&#45;un&#x73;&#x75;bs&#x63;&#114;i&#98;e&#x40;&#108;&#105;s&#x74;s&#x2e;x&#109;&#108;&#x2e;org
&gt; subscribe: xm&#x6c;&#45;&#x64;e&#118;&#45;&#x73;ubsc&#x72;&#105;b&#101;&#64;&#108;&#x69;&#x73;&#116;s.&#x78;m&#x6c;.&#x6f;r&#103;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;



_______________________________________________________________________

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: &#x78;ml&#x2d;d&#101;&#x76;&#x2d;&#117;&#x6e;s&#117;b&#115;&#x63;ri&#x62;&#x65;&#64;&#x6c;&#x69;&#115;t&#115;.x&#109;l&#x2e;org
subscribe: x&#109;&#x6c;-&#100;&#x65;&#x76;-&#115;ubs&#99;&#x72;&#x69;b&#x65;&#x40;&#x6c;&#105;sts.x&#x6d;&#x6c;&#46;&#111;rg
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70130.html</link><pubDate>Mon, 19 Mar 2012 21:00:06 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>

&gt; I assume that under some circumstances it's possible to generate a 
&gt; number of fragments of an output document in parallel and then merge 
&gt; the fragments at the end of the operation.  If so, is XSLT 
&gt; functionalism sufficient to do that automatically, or would some 
&gt; external programmer input be required to implement that?
&gt;
&gt;
Initially we're taking a cautious approach: using multithreading 
automatically where we're pretty confident it will usually give a 
benefit (xsl:result-document, fn:collection()) and allowing it to be 
invoked manually in cases where we think it's likely to incur more cost 
than benefit in a significant number of cases (xsl:for-each, 
xsl:apply-templates). Hopefully the decision-making will become more 
sophisticated as we gain experience and gather user feedback.

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60130.html</link><pubDate>Mon, 19 Mar 2012 17:43:49 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
We have use case where we need to see the results of documents processed 
earlier in our pipeline, but in a parallel processing environment they 
may not have finished writing yet.  In a single xslt we are mostly 
protected from this since the results of doc() and other external 
sources of input are required to be immutable, right?  But we supply our 
own functions that query external data sources and they (deliberately) 
break this contract.  And of course if you run multiple xslts in series, 
the results from the first one may show up in the second.  In cases like 
this you need to be careful about synchronizing, and it becomes 
important to introduce a barrier that waits for outstanding writes to 
complete.

I wonder if this sort of issue is being addressed in any way in the 
threading work you're doing in xslt?

-Mike

On 03/19/2012 01:43 PM, Michael Kay wrote:
&gt;
&gt;&gt; I assume that under some circumstances it's possible to generate a 
&gt;&gt; number of fragments of an output document in parallel and then merge 
&gt;&gt; the fragments at the end of the operation.  If so, is XSLT 
&gt;&gt; functionalism sufficient to do that automatically, or would some 
&gt;&gt; external programmer input be required to implement that?
&gt;&gt;
&gt;&gt;
&gt; Initially we're taking a cautious approach: using multithreading 
&gt; automatically where we're pretty confident it will usually give a 
&gt; benefit (xsl:result-document, fn:collection()) and allowing it to be 
&gt; invoked manually in cases where we think it's likely to incur more 
&gt; cost than benefit in a significant number of cases (xsl:for-each, 
&gt; xsl:apply-templates). Hopefully the decision-making will become more 
&gt; sophisticated as we gain experience and gather user feedback.
&gt;
&gt; Michael Kay
&gt; Saxonica
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#x78;m&#108;&#x2d;&#x64;&#x65;&#118;-&#117;nsu&#98;scri&#x62;&#x65;&#64;l&#105;s&#116;&#115;&#x2e;x&#109;l.&#111;&#x72;&#103;
&gt; subscribe: x&#x6d;&#x6c;&#45;&#100;e&#118;&#45;&#115;ub&#x73;c&#114;&#105;b&#x65;&#x40;lis&#x74;s.&#120;ml&#46;&#x6f;r&#103;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80130.html</link><pubDate>Mon, 19 Mar 2012 17:43:10 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Original Message From: &quot;Michael Kay&quot;
&gt; On 19/03/2012 14:44, Andrew Welch wrote:
&gt;&gt; On 19 March 2012 14:36, John Cowan  wrote:
&gt;&gt;&gt; Andrew Welch scripsit:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; As far as I know, as we all move towards functional programming we
&gt;&gt;&gt;&gt; won't have to worry too much about it as it gets taken care of for us.
&gt;&gt;&gt; Good luck with that.
&gt;&gt; Is that not the case?
&gt;&gt;
&gt; Things get better, but the problem shifts.
&gt;
&gt; For example, the next Saxon release will automatically do multi-threading 
&gt; for xsl:result-document (each output document is produced in parallel with 
&gt; the others).

I assume that under some circumstances it's possible to generate a number of 
fragments of an output document in parallel and then merge the fragments at 
the end of the operation.  If so, is XSLT functionalism sufficient to do 
that automatically, or would some external programmer input be required to 
implement that?

Thanks,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50130.html</link><pubDate>Mon, 19 Mar 2012 16:52:42 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 19 March 2012 14:34, Pete Cordell &lt;p&#x65;tex&#x6d;ld&#101;v&#x40;c&#x6f;dalog&#x69;c&#x2e;com&gt; wrote:
..
&gt; One of the problems is sharing state across threads and getting race
&gt; conditions etc.
&gt;
&gt; However, systems like web services are effectively multi-process /
&gt; multi-threaded and seem to scale well. Â Quite often web services (and
&gt; systems like them) use XML or JSON to communicate between the various
&gt; systems.
...
&gt; Does anybody have any thoughts on this?
&gt;

Since a few years already, the web apps designed to scale to million
of users seems to use stuff like &quot;memcache&quot; to share data.

The format of the data shared is normally the native of the language,
probably often serialization of objects.  The data don't have to live
longer than the execution of the program, so is ok ( Is not like a
lazy java programmer saving a serialized object to a database).




-- 
--
â±in del â³ensaje.
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00130.html</link><pubDate>Mon, 19 Mar 2012 15:21:30 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>


On 19/03/2012 14:44, Andrew Welch wrote:
&gt; On 19 March 2012 14:36, John Cowan&lt;cowan&#x40;&#109;e&#114;c&#117;ry&#x2e;&#99;cil.&#x6f;r&#103;&gt;  wrote:
&gt;&gt; Andrew Welch scripsit:
&gt;&gt;
&gt;&gt;&gt; As far as I know, as we all move towards functional programming we
&gt;&gt;&gt; won't have to worry too much about it as it gets taken care of for us.
&gt;&gt; Good luck with that.
&gt; Is that not the case?
&gt;
Things get better, but the problem shifts.

For example, the next Saxon release will automatically do 
multi-threading for xsl:result-document (each output document is 
produced in parallel with the others). But I had a test case the other 
day where doing everything at the same time blew the heap, so I had to 
suppress the multi-threading in order to conserve memory. Automating the 
resource trade-offs is the next level, but with diminishing returns I 
don't know if it will ever happen. So users still need to know what's 
going on and turn the dials occasionally.

Michael Kay
Saxonica
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40130.html</link><pubDate>Mon, 19 Mar 2012 15:13:50 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 19 March 2012 14:36, John Cowan &lt;c&#111;wa&#110;&#64;m&#101;&#114;c&#x75;&#x72;&#121;.&#x63;&#x63;&#105;&#108;&#46;or&#x67;&gt; wrote:
&gt; Andrew Welch scripsit:
&gt;
&gt;&gt; As far as I know, as we all move towards functional programming we
&gt;&gt; won't have to worry too much about it as it gets taken care of for us.
&gt;
&gt; Good luck with that.

Is that not the case?


&gt;&gt; On this topic (sort of), this is an interesting article I read the
&gt;&gt; other day where they took a different approach:
&gt;&gt; http://martinfowler.com/articles/lmax.html
&gt;
&gt; This is a straightforward three-stage pipeline, where the input and
&gt; output stages have state and the processing stage doesn't.

Ah ok... shame you didn't make it first, you could've made a fortune :)


-- 
Andrew Welch
http://andrewjwelch.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20130.html</link><pubDate>Mon, 19 Mar 2012 14:44:43 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Original Message From: &quot;John Cowan&quot;

&gt; All that parsing and unparsing would be expensive:

That was certainly one of my concerns, does it scale (unscale?!) to the 
tiny?  If the cost of serialization is small compared to the number of cores 
you can throw at a problem then it might cost in.  These days that's 
probably an accessment you have to make on a daily basis!

&gt; you might as well deal
&gt; in binary immutable objects instead.  But otherwise the idea is good and
&gt; has been in use for decades (Unix pipelines being the best-known example).
&gt; The key is to share nothing except immutable objects.

I was thinking the act of serialization could be used to enforce the 
immutability aspects and reduce the changes of unintentionally getting 
access to 'foreign' mutating state.

&gt; See Flow-Based Programming, a framework based on passing around immutable
&gt; packets between components (there are Java, C#, and C++ versions) at
&gt; http://www.jpaulmorrison.com/fbp/ .

Will do, Thanks.

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90120.html</link><pubDate>Mon, 19 Mar 2012 14:20:03 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 19 March 2012 13:34, Pete Cordell &lt;&#x70;e&#x74;&#x65;&#120;ml&#100;&#x65;&#x76;&#64;co&#x64;al&#x6f;g&#x69;c.&#x63;&#111;&#109;&gt; wrote:
&gt; We all know that increasing processor speed has pretty much run its course
&gt; (for now) and that the way to increased system performance is via using
&gt; multiple cores and threads.  However, parallel programming is difficult.

As far as I know, as we all move towards functional programming we
won't have to worry too much about it as it gets taken care of for us.
 Also, in Android and Java itself there are really good apis that
shield us from the hard stuff, there's no need to work with threads
directly.  I haven't come across an equivalent in Objective-C...

On this topic (sort of), this is an interesting article I read the
other day where they took a different approach:
http://martinfowler.com/articles/lmax.html

&quot;In fact they ended up by doing all the business logic for their
platform: all trades, from all customers, in all markets - on a single
thread. A thread that will process 6 million orders per second using
commodity hardware.&quot;





-- 
Andrew Welch
http://andrewjwelch.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80120.html</link><pubDate>Mon, 19 Mar 2012 14:10:34 GMT</pubDate></item><item><title>RE:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Nothing multithreaded is ever simplified :)
However point taken.  This is a common use case for example BPEL defines endpoints in such a way that can be multithreaded or multi system (but it uses that legacy protocol some may have heard of &quot;SOAP&quot;).

xmlsh does this in the language itself ... for threads within an xmlsh runtime.
Pipelines (a | b ) are run as seperate threads.   Variables can be shared across threads.  Starting a new thread ( with &quot;cmd &amp;&quot; ) can share (copy-on-write)  all exported variables from the parent environment and can return values but outputting to a named port.
Out of process or server communications  can be shared by starting a mini HTTP server (httpserver) and then data (xml or otherwise) can be pushed through it.

Similarly XProc is designed so it could be multithreaded or multi-server. I dont know of any implementations that currently do, but the design was intended to allow such a  thing.

And one step up.   the entire internet is designed this way. 
Although protocols and implementations vary.


----------------------------------------
David A. Lee
&#x64;&#x6c;ee&#64;c&#x61;&#108;&#x6c;dei.&#x63;om
http://www.xmlsh.org

&gt; -----Original Message-----
&gt; From: Pete Cordell [<A  HREF="mailto:&#112;ete&#120;mlde&#x76;&#64;&#99;o&#x64;&#x61;&#108;ogic.&#x63;&#x6f;&#x6d;">mailto:&#112;ete&#120;mlde&#x76;&#64;&#99;o&#x64;&#x61;&#108;ogic.&#x63;&#x6f;&#x6d;</A>]
&gt; Sent: Monday, March 19, 2012 9:34 AM
&gt; To: &#x78;&#x6d;&#108;&#45;d&#101;v&#64;&#108;ists.xm&#108;.or&#x67;
&gt; Subject:  Using XML (or JSON) for inter-thread communication
&gt; 
&gt; We all know that increasing processor speed has pretty much run its course
&gt; (for now) and that the way to increased system performance is via using
&gt; multiple cores and threads.  However, parallel programming is difficult.
&gt; 
&gt; One of the problems is sharing state across threads and getting race
&gt; conditions etc.
&gt; 
&gt; However, systems like web services are effectively multi-process /
&gt; multi-threaded and seem to scale well.  Quite often web services (and
&gt; systems like them) use XML or JSON to communicate between the various
&gt; systems.
&gt; 
&gt; Which makes me wonder, can you compress the 'web services' model down to
&gt; the
&gt; level of threads and use XML or JSON for your inter-thread communication?
&gt; Can you define your interfaces using some sort of schema and use REST or
&gt; similar approaches?  Would this help simplify parallel programming, perhaps
&gt; as one of a basket of techniques?
&gt; 
&gt; Does anybody have any thoughts on this?
&gt; 
&gt; Thanks,
&gt; 
&gt; Pete Cordell
&gt; Codalogic Ltd
&gt; Interface XML to C++ the easy way using C++ XML
&gt; data binding to convert XSD schemas to C++ classes.
&gt; Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
&gt; for more info
&gt; 
&gt; 
&gt; ___________________________________________________________________
&gt; ____
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#120;&#x6d;l&#45;&#x64;&#x65;v&#x2d;u&#x6e;&#x73;&#117;bscrib&#101;&#64;li&#115;&#x74;&#115;&#46;&#120;&#109;l.&#111;rg
&gt; subscribe: xm&#x6c;&#x2d;&#x64;&#x65;v&#45;&#x73;&#x75;bs&#99;r&#x69;&#x62;&#x65;&#64;lis&#116;s&#x2e;&#120;m&#108;&#x2e;&#x6f;&#x72;g
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60120.html</link><pubDate>Mon, 19 Mar 2012 13:45:09 GMT</pubDate></item><item><title>Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
We all know that increasing processor speed has pretty much run its course 
(for now) and that the way to increased system performance is via using 
multiple cores and threads.  However, parallel programming is difficult.

One of the problems is sharing state across threads and getting race 
conditions etc.

However, systems like web services are effectively multi-process / 
multi-threaded and seem to scale well.  Quite often web services (and 
systems like them) use XML or JSON to communicate between the various 
systems.

Which makes me wonder, can you compress the 'web services' model down to the 
level of threads and use XML or JSON for your inter-thread communication? 
Can you define your interfaces using some sort of schema and use REST or 
similar approaches?  Would this help simplify parallel programming, perhaps 
as one of a basket of techniques?

Does anybody have any thoughts on this?

Thanks,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50120.html</link><pubDate>Mon, 19 Mar 2012 13:34:28 GMT</pubDate></item><item><title>Re:  Unqualified forms and Inheritance by Restriction</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
In an attempt to redeem myself...

Following on from Michael Kay's comments, when using XSD1.0, the only real 
way to do it is declare your restricted schema to have the same target 
namespace as the Base schema.

I think one way to get around this is to define a 'wrapper' schema and then
xs:include your Base and Restricted namespace within it, e.g.:

&lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
xmlns=&quot;http://www.example.org/Base&quot;
targetNamespace=&quot;http://www.example.org/Base&quot;
elementFormDefault=&quot;qualified&quot;&gt;

    &lt;xs:include schemaLocation=&quot;Base.xsd&quot;/&gt;
    &lt;xs:include schemaLocation=&quot;Restricted.xsd&quot;/&gt;
&lt;/xs:schema&gt;

then both have:
&lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
xmlns=&quot;http://www.example.org/Base&quot;
targetNamespace=&quot;http://www.example.org/Base&quot;
elementFormDefault=&quot;qualified&quot;&gt;

Alternatively you could make E1 and E2 as global elements in the Base
namespace, but leave the rest in the Restricted namespace and do:

                &lt;xs:restriction base=&quot;base:AType&quot;&gt;
                                &lt;xs:sequence&gt;
                                                &lt;xs:element ref=&quot;base:E1&quot;/&gt;
                                                &lt;xs:element ref=&quot;base:E2&quot;/&gt;
                                &lt;/xs:sequence&gt;
                &lt;/xs:restriction&gt;

HTH,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
----- Original Message ----- 
From: &quot;Toby Considine&quot; &lt;T&#111;&#98;&#121;.&#67;&#x6f;&#110;s&#105;d&#105;ne&#x40;g&#x6d;ai&#x6c;.&#99;om&gt;
To: &lt;&#120;&#109;l-&#100;e&#x76;&#64;&#108;&#x69;&#x73;&#x74;s.&#120;m&#108;.&#111;rg&gt;
Sent: Friday, March 16, 2012 6:01 PM
Subject: RE:  Unqualified forms and Inheritance by Restriction


This seems to argue that the tools that &quot;accept&quot; what I am doing now, do so
in error. Which I had an uneasy feeling they did.



&gt;&gt;Because the element declaration isn't global, the only way you can replace
it with a different element declaration of the same name is by putting that
declaration in a schema &gt;&gt;document whose target namespace is {Base}.



How would I do this? I tried several variants on



                &lt;xs:restriction base=&quot;base:AType&quot;&gt;

                                &lt;xs:sequence&gt;

                                                &lt;xs:element name=&quot;base:E1&quot;
type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;

                                                &lt;xs:element name=&quot;base:E2&quot;&gt;


&lt;xs:simpleType&gt;


&lt;xs:restriction base=&quot;xs:token&quot;&gt;


&lt;xs:enumeration value=&quot;fie&quot;/&gt;


&lt;xs:enumeration value=&quot;foe&quot;/&gt;


&lt;/xs:restriction&gt;


&lt;/xs:simpleType&gt;

                                                &lt;/xs:element&gt;

                                &lt;/xs:sequence&gt;

                &lt;/xs:restriction&gt;



And they failed the same, even when I went so far as to make E1 and E2 root
elements in base. At this point I am trying to create valid XML by the
infinite monkey approach.



http://en.wikipedia.org/wiki/Infinite_monkey_theorem



tc

  _____

&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker

  _____


Toby Considine
TC9, Inc

TC Chair: oBIX &amp; WS-Calendar

TC Editor: EMIX, EnergyInterop

U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee





Email:  &lt;<A  HREF="mailto:To&#x62;y.C&#x6f;ns&#x69;d&#105;&#110;&#x65;&#x40;fa&#99;.&#117;nc&#x2e;e&#100;u">mailto:To&#x62;y.C&#x6f;ns&#x69;d&#105;&#110;&#x65;&#x40;fa&#99;.&#117;nc&#x2e;e&#100;u</A>&gt; Toby.Considine@g...
Phone: (919)619-2104

http://www.tcnine.com/
blog: www.NewDaedalus.com





From: Michael Kay [<A  HREF="mailto:&#x6d;ike&#x40;&#115;&#x61;&#120;o&#110;&#105;&#99;a.co&#109;">mailto:&#x6d;ike&#x40;&#115;&#x61;&#120;o&#110;&#105;&#99;a.co&#109;</A>]
Sent: Friday, March 16, 2012 10:53 AM
To: &#x78;m&#x6c;-&#100;&#101;v&#64;lis&#116;s&#46;xm&#x6c;&#x2e;&#111;&#114;g
Subject: Re:  Unqualified forms and Inheritance by Restriction



The issue here is that if element {Base}E1 is mandatory in the base type,
it's not good enough to have an element {Restricted}E1 in its place in the
derived type: the elements must have the same name.

Because the element declaration isn't global, the only way you can replace
it with a different element declaration of the same name is by putting that
declaration in a schema document whose target namespace is {Base}.

XSD 1.1 solves this by allowing you to specify targetNamespace as an
attribute on a local element declaration. In 1.0, though, there's no
alternative to putting the restricted type in a schema document for the
{Base} namespace -- even if this means tresspassing on someone else's
namespace.

Michael Kay
Saxonica

On 16/03/2012 13:47, Toby Considine wrote:

I have a family of schemas for energy markets that are derived from a root
abstract schema. In most cases, the derived types extend the abstract types
by adding additional elements. This inheritance by addition is
straight-forward.



For one key abstract type, I use inheritance by restriction. Derived types
must have all the elements of the root type, but they may be restricted to a
few enumerated values. Consider the following, simplified and stripped down:



Root Schema:

&lt;xs:schema xmlns:xs= &lt;http://www.w3.org/2001/XMLSchema&gt;
&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns= &lt;VIPRE Anti-phishing found a known 
bad URL in your email message. It was deleted or quarantined, depending on 
your settings, and replaced with this message. The anti-phishing setting is 
located in File&gt;Settings under the Email Protection tab.&gt;
&quot;VIPRE Anti-phishing found a known bad URL in your email message. It was 
deleted or quarantined, depending on your settings, and replaced with this 
message. The anti-phishing setting is located in File&gt;Settings under the 
Email Protection tab.&quot; targetNamespace= &lt;VIPRE Anti-phishing found a known 
bad URL in your email message. It was deleted or quarantined, depending on 
your settings, and replaced with this message. The anti-phishing setting is 
located in File&gt;Settings under the Email Protection tab.&gt;
&quot;VIPRE Anti-phishing found a known bad URL in your email message. It was 
deleted or quarantined, depending on your settings, and replaced with this 
message. The anti-phishing setting is located in File&gt;Settings under the 
Email Protection tab.&quot; elementFormDefault=&quot;qualified&quot;&gt;

&lt;xs:element name=&quot;A&quot; type=&quot;AType&quot;/&gt;

&lt;xs:complexType name=&quot;AType&quot; abstract=&quot;true&quot;&gt;

                &lt;xs:sequence&gt;

                                &lt;xs:element name=&quot;E1&quot; type=&quot;xs:string&quot;/&gt;

                                &lt;xs:element name=&quot;E2&quot; type=&quot;xs:string&quot; /&gt;

                &lt;/xs:sequence&gt;

&lt;/xs:complexType&gt;



Derivative schema

&lt;xs:schema xmlns:xs= &lt;http://www.w3.org/2001/XMLSchema&gt;
&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns=
&lt;VIPRE Anti-phishing found a known bad URL in your email message. It was 
deleted or quarantined, depending on your settings, and replaced with this 
message. The anti-phishing setting is located in File&gt;Settings under the 
Email Protection tab.&gt; &quot;VIPRE Anti-phishing found a known bad URL in your 
email message. It was deleted or quarantined, depending on your settings, 
and replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&quot;
xmlns:base= &lt;VIPRE Anti-phishing found a known bad URL in your email 
message. It was deleted or quarantined, depending on your settings, and 
replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&gt; &quot;VIPRE Anti-phishing found a 
known bad URL in your email message. It was deleted or quarantined, 
depending on your settings, and replaced with this message. The 
anti-phishing setting is located in File&gt;Settings under the Email Protection 
tab.&quot;
targetNamespace= &lt;VIPRE Anti-phishing found a known bad URL in your email 
message. It was deleted or quarantined, depending on your settings, and 
replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&gt;
&quot;VIPRE Anti-phishing found a known bad URL in your email message. It was 
deleted or quarantined, depending on your settings, and replaced with this 
message. The anti-phishing setting is located in File&gt;Settings under the 
Email Protection tab.&quot; elementFormDefault=&quot;qualified&quot;&gt;

&lt;xs:import namespace= &lt;VIPRE Anti-phishing found a known bad URL in your 
email message. It was deleted or quarantined, depending on your settings, 
and replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&gt;
&quot;VIPRE Anti-phishing found a known bad URL in your email message. It was 
deleted or quarantined, depending on your settings, and replaced with this 
message. The anti-phishing setting is located in File&gt;Settings under the 
Email Protection tab.&quot; schemaLocation=&quot;Base.xsd&quot;/&gt;

&lt;xs:element name=&quot;ARestricted&quot; type=&quot;ARestrictedType&quot;/&gt;

&lt;xs:complexType name=&quot;ARestrictedType&quot; abstract=&quot;false&quot;&gt;

&lt;xs:complexContent&gt;

                &lt;xs:restriction base=&quot;base:AType&quot;&gt;

                                &lt;xs:sequence&gt;

                                                &lt;xs:element name=&quot;E1&quot;
type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;

                                                &lt;xs:element name=&quot;E2&quot;&gt;


&lt;xs:simpleType&gt;


&lt;xs:restriction base=&quot;xs:token&quot;&gt;


&lt;xs:enumeration value=&quot;fie&quot;/&gt;


&lt;xs:enumeration value=&quot;foe&quot;/&gt;


&lt;/xs:restriction&gt;


&lt;/xs:simpleType&gt;

                                                &lt;/xs:element&gt;

                                &lt;/xs:sequence&gt;

                &lt;/xs:restriction&gt;

&lt;/xs:complexContent&gt;

&lt;/xs:complexType&gt;



The derivative schema is invalid. In particular, when processed, each
element in ARestricted generates the following error:
&quot;rcase-NameAndTypeOK.1: The declarations' {name}s and {target namespace}s
are not the same: restriction element is &lt;xs:element name=&quot;itemDescription&quot;&gt;
and base element is &lt;xs:element name=&quot;itemDescription&quot;&gt;.&quot;

http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#rcase-NameAndTypeOK



I can avoid the error if I change each of the schemas from
elementFormDefault=&quot;qualified&quot; to elementFormDefault=&quot;unqualified&quot;. The
derived schema now validates using XML Spy and Liquid XML Studio. When I use
the Liquid Technologies code generation tool to create software objects, the
objects generate XML that looks like what I want.



Here's the question:



Should I be looking for some side effect of switching these schemas from
qualified to unqualified? Is there some hidden problem I will come upon if I
require conforming schemas to be unqualified? I generally prefer &quot;qualified&quot;
for the esthetic reason that I like to see explicit type derivations
(prefices) in the schema. I do not have a feel for what else may be
affected.



Thanks



tc



  _____

&quot;You can cut all the flowers but you cannot keep spring from coming.&quot;
-Pablo Neruda.

  _____


Toby Considine
TC9, Inc

TC Chair: oBIX &amp; WS-Calendar

TC Editor: EMIX, EnergyInterop

U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee






Email:  &lt;<A  HREF="mailto:&#x54;&#x6f;&#98;y.&#67;onsi&#x64;&#105;ne&#64;f&#97;c.&#117;&#110;&#x63;.&#101;d&#x75;">mailto:&#x54;&#x6f;&#98;y.&#67;onsi&#x64;&#105;ne&#64;f&#97;c.&#117;&#110;&#x63;.&#101;d&#x75;</A>&gt; Toby.Considine@g...
Phone: (919)619-2104

http://www.tcnine.com/
blog: www.NewDaedalus.com






</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40120.html</link><pubDate>Mon, 19 Mar 2012 11:36:41 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Andrew Welch scripsit:

&gt; &gt;&gt; As far as I know, as we all move towards functional programming we
&gt; &gt;&gt; won't have to worry too much about it as it gets taken care of for
&gt; &gt;&gt; us.
&gt; &gt;
&gt; &gt; Good luck with that.
&gt;
&gt; Is that not the case?

Disclaimer:  I'm not a Haskell programmer, so I don't have a deep
understanding of what I'm saying here.

The virtue of pure functional programming languages is that when you get
your code to compile, it's almost certain to work right.  The problems
are twofold: when your program does not compile, it's often not easy to
figure out just why; and when your program has terrible performance, as
it often will if you write it naively, it's not clear what to do to fix
it.  Both of these are symptoms of the same disconnect: what your code
*appears* to be doing is not at all what the graph reduction machine
inside is *actually* doing.

&gt; Ah ok... shame you didn't make it first, you could've made a fortune
&gt; :)

Eh, working for traders is not the way to a restful life.

-- 
Overhead, without any fuss, the stars were going out.
        --Arthur C. Clarke, &quot;The Nine Billion Names of God&quot;
                John Cowan &lt;c&#x6f;wan&#64;&#99;c&#x69;&#108;&#x2e;o&#x72;g&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30130.html</link><pubDate>Mon, 19 Mar 2012 11:01:43 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Andrew Welch scripsit:

&gt; As far as I know, as we all move towards functional programming we
&gt; won't have to worry too much about it as it gets taken care of for us.

Good luck with that.

&gt; On this topic (sort of), this is an interesting article I read the
&gt; other day where they took a different approach:
&gt; http://martinfowler.com/articles/lmax.html

This is a straightforward three-stage pipeline, where the input and
output stages have state and the processing stage doesn't.

-- 
Ambassador Trentino: I've said enough. I'm a man of few words.
Rufus T. Firefly: I'm a man of one word: scram!
        --Duck Soup                     John Cowan &lt;cow&#x61;&#x6e;&#x40;cc&#105;&#108;&#46;o&#x72;&#103;&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10130.html</link><pubDate>Mon, 19 Mar 2012 10:36:43 GMT</pubDate></item><item><title>[ANN] Release of XMLmind XML Editor v5.2</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
XMLmind is happy to announce the version 5.2 of XMLmind XML Editor.
     _____________________________________________

XMLmind XML Editor Personal Edition v5.2 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/xmleditor/upgrade.html.)
     _____________________________________________

XMLmind XML Editor v5.2 (March 14, 2012):

Overhauled XHTML support, now including support for XHTML 5:

* Robust, self-contained, W3C XML Schema for XHTML 5 which
    is as faithful to W3C Working Draft 25 May 2011 as a
    W3C XML Schema can be.

* New CSS stylesheets.

    When the &quot;Emulate Web Browser&quot; stylesheet has been selected,
    XXE will dynamically apply to the styled view all the CSS
    styles found in style attributes, style elements and link
    elements pointing to CSS stylesheets.

* New XSLT 2 stylesheets allow to convert XHTML 1.0, 1.1
    and 5.0 documents to PostScript, PDF, RTF, WordprocessingML,
    Office Open XML (.docx) and OpenOffice (.odt).

    By default, the CSS styles specified in XHTML style attributes,
    style and link elements also apply to the XSL-FO file generated
    by these XSLT 2 stylesheets.
     _____________________________________________

More information:
http://www.xmlmind.com/xmleditor/changes.html



</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30120.html</link><pubDate>Mon, 19 Mar 2012 10:32:26 GMT</pubDate></item><item><title>Re:  Using XML (or JSON) for inter-thread communication</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Pete Cordell scripsit:

&gt; Which makes me wonder, can you compress the 'web services' model down to 
&gt; the level of threads and use XML or JSON for your inter-thread 
&gt; communication? Can you define your interfaces using some sort of schema 
&gt; and use REST or similar approaches?  Would this help simplify parallel 
&gt; programming, perhaps as one of a basket of techniques?

All that parsing and unparsing would be expensive: you might as well deal
in binary immutable objects instead.  But otherwise the idea is good and
has been in use for decades (Unix pipelines being the best-known example).
The key is to share nothing except immutable objects.

See Flow-Based Programming, a framework based on passing around immutable
packets between components (there are Java, C#, and C++ versions) at
http://www.jpaulmorrison.com/fbp/ .

-- 
John Cowan  c&#111;wan&#x40;&#x63;&#99;i&#x6c;.o&#114;&#103;  http://ccil.org/~cowan
If I have not seen as far as others, it is because giants were standing
on my shoulders.
        --Hal Abelson
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70120.html</link><pubDate>Mon, 19 Mar 2012 09:57:45 GMT</pubDate></item><item><title>Re:  Deployability of XMLised HTML - authoritative survey?[redu</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 16/03/2012 14:49, Mike Sokolov wrote:
&gt; I assume it's a typo, but that document is dated next year

the last published spec was dated last year:

http://www.w3.org/TR/html-polyglot/

presumably someone struggled to add one:-)

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10120.html</link><pubDate>Fri, 16 Mar 2012 15:09:12 GMT</pubDate></item><item><title>Re:  Unqualified forms and Inheritance by Restriction</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    The issue here is that if element {Base}E1 is mandatory in the base
    type, it's not good enough to have an element {Restricted}E1 in its
    place in the derived type: the elements must have the same name.<br>
    <br>
    Because the element declaration isn't global, the only way you can
    replace it with a different element declaration of the same name is
    by putting that declaration in a schema document whose target
    namespace is {Base}.<br>
    <br>
    XSD 1.1 solves this by allowing you to specify targetNamespace as an
    attribute on a local element declaration. In 1.0, though, there's no
    alternative to putting the restricted type in a schema document for
    the {Base} namespace -- even if this means tresspassing on someone
    else's namespace.<br>
    <br>
    Michael Kay<br>
    Saxonica<br>
    <br>
    On 16/03/2012 13:47, Toby Considine wrote:
    <blockquote cite="mid:<a href="post50110.html">025e01cd037b$5c86eee0$1594cca0$@gmail.com</a>"
      type="cite">
      
      
      <!---->
      <!----><!---->
      <div class="WordSection1">
        <p class="MsoNormal">I have a family of schemas for energy
          markets that are derived from a root abstract schema. In most
          cases, the derived types extend the abstract types by adding
          additional elements. This inheritance by addition is
          straight-forward.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">For one key abstract type, I use
          inheritance by restriction. Derived types must have all the
          elements of the root type, but they may be restricted to a few
          enumerated values. Consider the following, simplified and
          stripped down:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Root Schema:<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:schema
          xmlns:xs=http://www.w3.org/2001/XMLSchema
          xmlns=http://www.example.org/Base
          targetNamespace=http://www.example.org/Base
          elementFormDefault="qualified"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:element name="A" type="AType"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:complexType name="AType"
          abstract="true"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:element name="E1" type="xs:string"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:element name="E2" type="xs:string" /&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;/xs:complexType&gt;<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Derivative schema<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:schema
          xmlns:xs=http://www.w3.org/2001/XMLSchema
          xmlns=http://www.example.org/Restriction
          xmlns:base=http://www.example.org/Base
          targetNamespace=http://www.example.org/Restriction
          elementFormDefault="qualified"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:import
          namespace=http://www.example.org/Base
          schemaLocation="Base.xsd"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:element name="ARestricted"
          type="ARestrictedType"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:complexType name="ARestrictedType"
          abstract="false"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;xs:complexContent&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction
          base="base:AType"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:sequence&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:element name="E1"&nbsp; type="xs:string" fixed="foo"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:element name="E2"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:simpleType&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:restriction base="xs:token"&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:enumeration value="fie"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;xs:enumeration value="foe"/&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;/xs:restriction&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;/xs:simpleType&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;/xs:element&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &lt;/xs:sequence&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;/xs:complexContent&gt;<o:p></o:p></p>
        <p class="MsoNormal">&lt;/xs:complexType&gt;<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The derivative schema is invalid. In
          particular, when processed, each element in ARestricted
          generates the following error:&nbsp; "rcase-NameAndTypeOK.1: The
          declarations' {name}s and {target namespace}s are not the
          same: restriction element is &lt;xs:element
          name="itemDescription"&gt; and base element is &lt;xs:element
          name="itemDescription"&gt;." <o:p></o:p></p>
        <p class="MsoNormal">http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#rcase-NameAndTypeOK
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">I can avoid the error if I change each of
          the schemas from elementFormDefault="qualified" to
          elementFormDefault="unqualified". The derived schema now
          validates using XML Spy and Liquid XML Studio. When I use the
          Liquid Technologies code generation tool to create software
          objects, the objects generate XML that looks like what I want.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Here&#8217;s the question:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Should I be looking for some side effect of
          switching these schemas from qualified to unqualified? Is
          there some hidden problem I will come upon if I require
          conforming schemas to be unqualified? I generally prefer
          &#8220;qualified&#8221; for the esthetic reason that I like to see
          explicit type derivations (prefices) in the schema. I do not
          have a feel for what else may be affected.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Thanks<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">tc<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <div>
          <div class="MsoNormal"><span style="color:blue">
              <hr align="left" size="2" width="100%"></span></div>
        </div>
        <div>
          <p class="MsoNormal"><span style="color:black">"</span>You can
            cut all the flowers but you cannot keep spring from coming."<b><span
                style="font-size:10.0pt"><br>
              </span></b><i><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">-Pablo
                Neruda</span></i><span style="color:black">.<o:p></o:p></span></p>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div class="MsoNormal">
                            <hr align="left" size="2" width="100%"></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <table class="MsoNormalTable" border="0" cellpadding="0">
          <tbody>
            <tr>
              <td style="padding:.75pt .75pt .75pt .75pt" valign="top">
                <p class="MsoNormal">Toby Considine<br>
                  TC9, Inc<o:p></o:p></p>
                <p class="MsoNormal">TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p>
                <p class="MsoNormal">TC Editor: EMIX, EnergyInterop<o:p></o:p></p>
                <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">U.S.
                    National Inst. of Standards and Tech. Smart Grid
                    Architecture Committee</span><br>
                  <br>
                  <o:p></o:p></p>
              </td>
              <td style="padding:.75pt .75pt .75pt .75pt">
                <p class="MsoNormal">&nbsp;&nbsp;<o:p></o:p></p>
              </td>
              <td style="padding:.75pt .75pt .75pt .75pt" valign="top">
                <p class="MsoNormal">Email: <a moz-do-not-send="true"
                    href="mailto:&#x54;o&#x62;&#x79;.&#67;&#x6f;&#x6e;s&#105;&#100;in&#x65;&#x40;f&#x61;&#99;&#46;un&#x63;&#x2e;&#x65;&#x64;&#x75;"
                    title="mailto:&#84;o&#98;y&#46;&#x43;o&#x6e;&#115;i&#100;in&#101;&#64;&#102;&#x61;&#x63;.unc&#46;e&#x64;u"><span
                      style="color:windowtext">&#x54;&#111;&#98;y.&#x43;&#x6f;ns&#x69;&#100;in&#x65;&#64;g&#x6d;a&#105;&#x6c;.c&#x6f;m</span></a><br>
                  Phone: (919)619-2104<o:p></o:p></p>
                <p class="MsoNormal">http://www.tcnine.com/<br>
                  blog: http://www.NewDaedalus.com<o:p></o:p></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
    </blockquote>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00120.html</link><pubDate>Fri, 16 Mar 2012 14:52:41 GMT</pubDate></item><item><title>Re:  Unqualified forms and Inheritance by Restriction</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Does it help if you have &lt;xs:restriction base=&quot;xs:string&quot;/&gt; for E2 in the 
second case?

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
----- Original Message ----- 
From: &quot;Toby Considine&quot; &lt;T&#111;by.&#x43;&#x6f;n&#x73;i&#x64;i&#x6e;e&#64;gm&#97;&#x69;&#x6c;.&#x63;&#x6f;&#x6d;&gt;
To: &quot;xml-Dev Listserv&quot; &lt;&#120;ml&#45;&#x64;ev&#x40;&#x6c;&#105;s&#116;&#115;&#46;&#120;m&#108;.o&#114;&#103;&gt;
Sent: Friday, March 16, 2012 1:47 PM
Subject:  Unqualified forms and Inheritance by Restriction


I have a family of schemas for energy markets that are derived from a root
abstract schema. In most cases, the derived types extend the abstract types
by adding additional elements. This inheritance by addition is
straight-forward.



For one key abstract type, I use inheritance by restriction. Derived types
must have all the elements of the root type, but they may be restricted to a
few enumerated values. Consider the following, simplified and stripped down:



Root Schema:

&lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
xmlns=&quot;VIPRE Anti-phishing found a known bad URL in your email message. It 
was deleted or quarantined, depending on your settings, and replaced with 
this message. The anti-phishing setting is located in File&gt;Settings under 
the Email Protection tab.&quot;
targetNamespace=&quot;VIPRE Anti-phishing found a known bad URL in your email 
message. It was deleted or quarantined, depending on your settings, and 
replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&quot;
elementFormDefault=&quot;qualified&quot;&gt;

&lt;xs:element name=&quot;A&quot; type=&quot;AType&quot;/&gt;

&lt;xs:complexType name=&quot;AType&quot; abstract=&quot;true&quot;&gt;

                &lt;xs:sequence&gt;

                                &lt;xs:element name=&quot;E1&quot; type=&quot;xs:string&quot;/&gt;

                                &lt;xs:element name=&quot;E2&quot; type=&quot;xs:string&quot; /&gt;

                &lt;/xs:sequence&gt;

&lt;/xs:complexType&gt;



Derivative schema

&lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
xmlns=&quot;VIPRE Anti-phishing found a known bad URL in your email message. It 
was deleted or quarantined, depending on your settings, and replaced with 
this message. The anti-phishing setting is located in File&gt;Settings under 
the Email Protection tab.&quot;
xmlns:base=&quot;VIPRE Anti-phishing found a known bad URL in your email message. 
It was deleted or quarantined, depending on your settings, and replaced with 
this message. The anti-phishing setting is located in File&gt;Settings under 
the Email Protection tab.&quot;
targetNamespace=&quot;VIPRE Anti-phishing found a known bad URL in your email 
message. It was deleted or quarantined, depending on your settings, and 
replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&quot;
elementFormDefault=&quot;qualified&quot;&gt;

&lt;xs:import namespace=&quot;VIPRE Anti-phishing found a known bad URL in your 
email message. It was deleted or quarantined, depending on your settings, 
and replaced with this message. The anti-phishing setting is located in 
File&gt;Settings under the Email Protection tab.&quot;
schemaLocation=&quot;Base.xsd&quot;/&gt;

&lt;xs:element name=&quot;ARestricted&quot; type=&quot;ARestrictedType&quot;/&gt;

&lt;xs:complexType name=&quot;ARestrictedType&quot; abstract=&quot;false&quot;&gt;

&lt;xs:complexContent&gt;

                &lt;xs:restriction base=&quot;base:AType&quot;&gt;

                                &lt;xs:sequence&gt;

                                                &lt;xs:element name=&quot;E1&quot;
type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;

                                                &lt;xs:element name=&quot;E2&quot;&gt;


&lt;xs:simpleType&gt;


&lt;xs:restriction base=&quot;xs:token&quot;&gt;


&lt;xs:enumeration value=&quot;fie&quot;/&gt;


&lt;xs:enumeration value=&quot;foe&quot;/&gt;


&lt;/xs:restriction&gt;


&lt;/xs:simpleType&gt;

                                                &lt;/xs:element&gt;

                                &lt;/xs:sequence&gt;

                &lt;/xs:restriction&gt;

&lt;/xs:complexContent&gt;

&lt;/xs:complexType&gt;



The derivative schema is invalid. In particular, when processed, each
element in ARestricted generates the following error:
&quot;rcase-NameAndTypeOK.1: The declarations' {name}s and {target namespace}s
are not the same: restriction element is &lt;xs:element name=&quot;itemDescription&quot;&gt;
and base element is &lt;xs:element name=&quot;itemDescription&quot;&gt;.&quot;

http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#rcase-NameAndTypeOK



I can avoid the error if I change each of the schemas from
elementFormDefault=&quot;qualified&quot; to elementFormDefault=&quot;unqualified&quot;. The
derived schema now validates using XML Spy and Liquid XML Studio. When I use
the Liquid Technologies code generation tool to create software objects, the
objects generate XML that looks like what I want.



Here's the question:



Should I be looking for some side effect of switching these schemas from
qualified to unqualified? Is there some hidden problem I will come upon if I
require conforming schemas to be unqualified? I generally prefer &quot;qualified&quot;
for the esthetic reason that I like to see explicit type derivations
(prefices) in the schema. I do not have a feel for what else may be
affected.



Thanks



tc



  _____

&quot;You can cut all the flowers but you cannot keep spring from coming.&quot;
-Pablo Neruda.

  _____


Toby Considine
TC9, Inc

TC Chair: oBIX &amp; WS-Calendar

TC Editor: EMIX, EnergyInterop

U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee





Email:  &lt;<A  HREF="mailto:Toby.Consid&#x69;&#x6e;&#x65;&#x40;f&#97;c.u&#110;c.&#x65;&#100;u">mailto:Toby.Consid&#x69;&#x6e;&#x65;&#x40;f&#97;c.u&#110;c.&#x65;&#100;u</A>&gt; Toby.Considine@g...
Phone: (919)619-2104

http://www.tcnine.com/
blog: www.NewDaedalus.com






</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80110.html</link><pubDate>Fri, 16 Mar 2012 14:13:22 GMT</pubDate></item><item><title>RE:  Unqualified forms and Inheritance by Restriction</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>This seems to argue that the tools that &#8220;accept&#8221; what I am doing now, do so in error. Which I had an uneasy feeling they did.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal>&gt;&gt;Because the element declaration isn't global, the only way you can replace it with a different element declaration of the same name is by putting that declaration in a schema &gt;&gt;document whose target namespace is {Base}.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal><span style='color:#1F497D'>How would I do this? I tried several variants on<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;base:AType&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;base:E1&quot;&nbsp; type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;base:E2&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:simpleType&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xs:restriction base=&quot;xs:token&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;fie&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xs:enumeration value=&quot;foe&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:simpleType&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/xs:element&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>And they failed the same, even when I went so far as to make E1 and E2 root elements in base. At this point I am trying to create valid XML by the infinite monkey approach.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>http://en.wikipedia.org/wiki/Infinite_monkey_theorem <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tc<o:p></o:p></span></p><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div></div><p class=MsoNormal><span style='color:#1F497D'>&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker</span><span style='color:blue'><o:p></o:p></span></p><div><div><div><div><div><div><div><div><div class=MsoNormal><span style='color:#1F497D'><hr size=2 width="100%" align=left></span></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='color:#1F497D'>Toby Considine<br>TC9, Inc<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>TC Editor: EMIX, EnergyInterop<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><span style='color:#1F497D'><br><br><o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;<o:p></o:p></span></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='color:#1F497D'>Email: <a href="mailto:&#x54;&#x6f;by.Considi&#110;&#101;&#64;fac&#x2e;&#117;nc&#46;&#101;d&#117;" title="mailto:&#x54;&#x6f;by.Considi&#110;&#101;&#64;fac&#x2e;&#117;nc&#46;&#101;d&#117;"><span style='color:#1F497D'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>http://www.tcnine.com/<br>blog: www.NewDaedalus.com<o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Kay [mailto:mike@s...] <br><b>Sent:</b> Friday, March 16, 2012 10:53 AM<br><b>To:</b> xml-dev@l...<br><b>Subject:</b> Re:  Unqualified forms and Inheritance by Restriction<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The issue here is that if element {Base}E1 is mandatory in the base type, it's not good enough to have an element {Restricted}E1 in its place in the derived type: the elements must have the same name.<br><br>Because the element declaration isn't global, the only way you can replace it with a different element declaration of the same name is by putting that declaration in a schema document whose target namespace is {Base}.<br><br>XSD 1.1 solves this by allowing you to specify targetNamespace as an attribute on a local element declaration. In 1.0, though, there's no alternative to putting the restricted type in a schema document for the {Base} namespace -- even if this means tresspassing on someone else's namespace.<br><br>Michael Kay<br>Saxonica<br><br>On 16/03/2012 13:47, Toby Considine wrote: <o:p></o:p></p><p class=MsoNormal>I have a family of schemas for energy markets that are derived from a root abstract schema. In most cases, the derived types extend the abstract types by adding additional elements. This inheritance by addition is straight-forward.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>For one key abstract type, I use inheritance by restriction. Derived types must have all the elements of the root type, but they may be restricted to a few enumerated values. Consider the following, simplified and stripped down:<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Root Schema:<o:p></o:p></p><p class=MsoNormal>&lt;xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns=http://www.example.org/Base targetNamespace=http://www.example.org/Base elementFormDefault=&quot;qualified&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:element name=&quot;A&quot; type=&quot;AType&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexType name=&quot;AType&quot; abstract=&quot;true&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E1&quot; type=&quot;xs:string&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E2&quot; type=&quot;xs:string&quot; /&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Derivative schema<o:p></o:p></p><p class=MsoNormal>&lt;xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns=http://www.example.org/Restriction xmlns:base=http://www.example.org/Base targetNamespace=http://www.example.org/Restriction elementFormDefault=&quot;qualified&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:import namespace=http://www.example.org/Base schemaLocation=&quot;Base.xsd&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:element name=&quot;ARestricted&quot; type=&quot;ARestrictedType&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexType name=&quot;ARestrictedType&quot; abstract=&quot;false&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexContent&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;base:AType&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E1&quot;&nbsp; type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E2&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:simpleType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;xs:token&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;fie&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;foe&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:simpleType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:element&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexContent&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>The derivative schema is invalid. In particular, when processed, each element in ARestricted generates the following error:&nbsp; &quot;rcase-NameAndTypeOK.1: The declarations' {name}s and {target namespace}s are not the same: restriction element is &lt;xs:element name=&quot;itemDescription&quot;&gt; and base element is &lt;xs:element name=&quot;itemDescription&quot;&gt;.&quot; <o:p></o:p></p><p class=MsoNormal>http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#rcase-NameAndTypeOK <o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>I can avoid the error if I change each of the schemas from elementFormDefault=&quot;qualified&quot; to elementFormDefault=&quot;unqualified&quot;. The derived schema now validates using XML Spy and Liquid XML Studio. When I use the Liquid Technologies code generation tool to create software objects, the objects generate XML that looks like what I want.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Here&#8217;s the question:<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Should I be looking for some side effect of switching these schemas from qualified to unqualified? Is there some hidden problem I will come upon if I require conforming schemas to be unqualified? I generally prefer &#8220;qualified&#8221; for the esthetic reason that I like to see explicit type derivations (prefices) in the schema. I do not have a feel for what else may be affected.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>tc<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><div><div><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div></div></div><div><p class=MsoNormal>&quot;You can cut all the flowers but you cannot keep spring from coming.&quot;<b><span style='font-size:10.0pt'><br></span></b><i><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>-Pablo Neruda</span></i>.<o:p></o:p></p><div><div><div><div><div><div><div><div><div><div class=MsoNormal><hr size=2 width="100%" align=left></div></div></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Toby Considine<br>TC9, Inc<o:p></o:p></p><p class=MsoNormal>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p><p class=MsoNormal>TC Editor: EMIX, EnergyInterop<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><br><br><br><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>&nbsp;&nbsp;<o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Email: <a href="mailto:&#x54;&#x6f;by.Considi&#110;&#101;&#64;fac&#x2e;&#117;nc&#46;&#101;d&#117;" title="mailto:&#x54;&#x6f;by.Considi&#110;&#101;&#64;fac&#x2e;&#117;nc&#46;&#101;d&#117;"><span style='color:windowtext'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></p><p class=MsoNormal>http://www.tcnine.com/<br>blog: http://www.NewDaedalus.com<o:p></o:p></p></td></tr></table><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20120.html</link><pubDate>Fri, 16 Mar 2012 14:01:56 GMT</pubDate></item><item><title>Re:  Deployability of XMLised HTML - authoritative survey?[redu</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 16/03/2012 13:06, Dan Brickley wrote:
&gt; Hi
&gt;
&gt; I understand from anecdotal reports and my own experiments that it is
&gt; possible to get most (recent?) browsers to sensibly interpret and render
&gt; well formed XML that &quot;looks a lot like&quot; HTML. With much of HTML, this is
&gt; just a matter of matching case and closing&lt;/LI&gt;  etc. The treatment of
&gt; HTML's&lt;HR&gt;  and&lt;BR&gt;  as&lt;HR /&gt;  and&lt;BR /&gt;  is, it seems, workable.
&gt; I'd very much like to hear that these anecdotes are true, and that
&gt; someone somewhere has undertaken a more comprehensive survey of browser
&gt; behaviour. I guess something like this must be going on in the
&gt; HTML-futures area -- if so a URL pointer would be very much appreciated.
&gt;
&gt; Thanks for any references,
&gt;
&gt; Dan
&gt;


There are lots of gotchas and special cases to beware of see

http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60110.html</link><pubDate>Fri, 16 Mar 2012 13:49:21 GMT</pubDate></item><item><title>Re:  Deployability of XMLised HTML - authoritative survey?[redu</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
I assume it's a typo, but that document is dated next year

On 03/16/2012 09:49 AM, David Carlisle wrote:
&gt; On 16/03/2012 13:06, Dan Brickley wrote:
&gt;&gt; Hi
&gt;&gt;
&gt;&gt; I understand from anecdotal reports and my own experiments that it is
&gt;&gt; possible to get most (recent?) browsers to sensibly interpret and render
&gt;&gt; well formed XML that &quot;looks a lot like&quot; HTML. With much of HTML, this is
&gt;&gt; just a matter of matching case and closing&lt;/LI&gt;  etc. The treatment of
&gt;&gt; HTML's&lt;HR&gt;  and&lt;BR&gt;  as&lt;HR /&gt;  and&lt;BR /&gt;  is, it seems, workable.
&gt;&gt; I'd very much like to hear that these anecdotes are true, and that
&gt;&gt; someone somewhere has undertaken a more comprehensive survey of browser
&gt;&gt; behaviour. I guess something like this must be going on in the
&gt;&gt; HTML-futures area -- if so a URL pointer would be very much appreciated.
&gt;&gt;
&gt;&gt; Thanks for any references,
&gt;&gt;
&gt;&gt; Dan
&gt;&gt;
&gt;
&gt;
&gt; There are lots of gotchas and special cases to beware of see
&gt;
&gt; http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html 
&gt;
&gt;
&gt; David
&gt;
&gt; ________________________________________________________________________
&gt; The Numerical Algorithms Group Ltd is a company registered in England
&gt; and Wales with company number 1249803. The registered office is:
&gt; Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
&gt;
&gt; This e-mail has been scanned for all viruses by Star. The service is
&gt; powered by MessageLabs. 
&gt; ________________________________________________________________________
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: xm&#x6c;&#45;d&#x65;v-un&#115;u&#x62;s&#x63;r&#x69;&#x62;e&#x40;l&#x69;s&#x74;&#x73;&#x2e;x&#x6d;&#108;&#46;&#x6f;r&#x67;
&gt; subscribe: xml&#45;d&#x65;v&#x2d;&#x73;ubscri&#98;&#x65;&#x40;&#x6c;is&#x74;s&#46;x&#x6d;l&#46;o&#114;&#103;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90110.html</link><pubDate>Fri, 16 Mar 2012 10:49:00 GMT</pubDate></item><item><title>RE:  RNG vs. XSD : is the use of abstract types and polymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Simon touches on one of several divides, and they come down to &quot;what is the
purpose of this schema&quot;

I have used XSD an inheritance to define information models. Information
models benefit from abstract types and derivation because extensibility may
be the primary concern.

In a particular application, I may wish to invalidate a message that conveys
information that I do not understand, i.e., I may need to reject a validly
derived but incomprehensible message. This may because the application has a
restricted purpose. My smart refrigerator-based Bar-coded food inventory can
legitimately reject power tools, even if they have valid bar codes. This may
because of a restricted profile for a restricted market. It may be a version
issue, as my v1 system does not understand the options of your v2 message.

WS-I (Interoperability) addresses this be explicitly disallowing the type of
optionality that comes with substitution groups. This does not mean that
substitution groups are bad, it means that they have their place and you
must know if you  are in that place. It is routine to take a information
defined with a substitution group and create a derived schema with a CHOICE
of the derived types that fit a particular WS-I profile.

I have not seen a lot of conversation about this--but that may be my
ignorance of the right readings. I tend toward language such as the
Information Schema and the Application Schema, and the WS-I Profile.

The pleasure of the XML Schema is that it can be used for many things.
The challenge of the XML Schema is that many parts of it should not be used
for many purposes.
The tragedy of the XML Schema is that many practitioners, particularly
tool-based practitioners, do not distinguish between the purposes, and use a
schema built for one purpose for another. 

The same can be said, IMO, for RNG

So: is there a common language describing the purpose of a schema? Is that
language associated with rules for how one should build the schema within
that purpose? Even more to the point is there tooling for, say, validating
an application schema against an information model schema?

tc

&quot;If something is not worth doing, it`s not worth doing well&quot; - Peter Drucker

Toby Considine
TC9, Inc
TC Chair: oBIX &amp; WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  
Email: &#84;&#111;b&#x79;.&#x43;&#x6f;n&#115;idin&#x65;&#64;g&#109;&#97;i&#x6c;.&#99;&#x6f;m
Phone: (919)619-2104
http://www.tcnine.com/
blog: www.NewDaedalus.com


-----Original Message-----
From: Simon St.Laurent [<A  HREF="mailto:&#x73;&#105;mo&#x6e;&#115;&#x74;l&#x40;si&#x6d;on&#x73;&#x74;l&#x2e;&#x63;&#x6f;&#109;">mailto:&#x73;&#105;mo&#x6e;&#115;&#x74;l&#x40;si&#x6d;on&#x73;&#x74;l&#x2e;&#x63;&#x6f;&#109;</A>] 
Sent: Friday, March 16, 2012 9:25 AM
To: xml&#x2d;de&#x76;&#64;&#108;&#x69;sts.x&#x6d;l.o&#114;g
Subject: Re:  RNG vs. XSD : is the use of abstract types and
polymorphism a good or bad thing for schemas for XML?

On 3/14/12 9:03 PM, Rick Jelliffe wrote:
&gt; I like what Norm wrote.I'd add a couple of things.

As do I, though my things are a little different.

 From my perspective, W3C XML Schema was a trainwreck because its foundation
structures came from the languages people wanted to use to process XML with,
not from much precedent in markup itself.  Classical inheritance was the way
of Java and C++ and many others, and was apparently a siren call few could
resist.

Thanks,
--
Simon St.Laurent
http://simonstl.com/


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70110.html</link><pubDate>Fri, 16 Mar 2012 10:09:42 GMT</pubDate></item><item><title>Unqualified forms and Inheritance by Restriction</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal>I have a family of schemas for energy markets that are derived from a root abstract schema. In most cases, the derived types extend the abstract types by adding additional elements. This inheritance by addition is straight-forward.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>For one key abstract type, I use inheritance by restriction. Derived types must have all the elements of the root type, but they may be restricted to a few enumerated values. Consider the following, simplified and stripped down:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Root Schema:<o:p></o:p></p><p class=MsoNormal>&lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns=&quot;http://www.example.org/Base&quot; targetNamespace=&quot;http://www.example.org/Base&quot; elementFormDefault=&quot;qualified&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:element name=&quot;A&quot; type=&quot;AType&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexType name=&quot;AType&quot; abstract=&quot;true&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E1&quot; type=&quot;xs:string&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E2&quot; type=&quot;xs:string&quot; /&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexType&gt;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Derivative schema<o:p></o:p></p><p class=MsoNormal>&lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns=&quot;http://www.example.org/Restriction&quot; xmlns:base=&quot;http://www.example.org/Base&quot; targetNamespace=&quot;http://www.example.org/Restriction&quot; elementFormDefault=&quot;qualified&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:import namespace=&quot;http://www.example.org/Base&quot; schemaLocation=&quot;Base.xsd&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:element name=&quot;ARestricted&quot; type=&quot;ARestrictedType&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexType name=&quot;ARestrictedType&quot; abstract=&quot;false&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&lt;xs:complexContent&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;base:AType&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E1&quot;&nbsp; type=&quot;xs:string&quot; fixed=&quot;foo&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;E2&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:simpleType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;xs:token&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;fie&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:enumeration value=&quot;foe&quot;/&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:simpleType&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:element&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexContent&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/xs:complexType&gt;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The derivative schema is invalid. In particular, when processed, each element in ARestricted generates the following error:&nbsp; &quot;rcase-NameAndTypeOK.1: The declarations' {name}s and {target namespace}s are not the same: restriction element is &lt;xs:element name=&quot;itemDescription&quot;&gt; and base element is &lt;xs:element name=&quot;itemDescription&quot;&gt;.&quot; <o:p></o:p></p><p class=MsoNormal>http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#rcase-NameAndTypeOK <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I can avoid the error if I change each of the schemas from elementFormDefault=&quot;qualified&quot; to elementFormDefault=&quot;unqualified&quot;. The derived schema now validates using XML Spy and Liquid XML Studio. When I use the Liquid Technologies code generation tool to create software objects, the objects generate XML that looks like what I want.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Here&#8217;s the question:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Should I be looking for some side effect of switching these schemas from qualified to unqualified? Is there some hidden problem I will come upon if I require conforming schemas to be unqualified? I generally prefer &#8220;qualified&#8221; for the esthetic reason that I like to see explicit type derivations (prefices) in the schema. I do not have a feel for what else may be affected.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>tc<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div class=MsoNormal><span style='color:blue'><hr size=2 width="100%" align=left></span></div></div><div><p class=MsoNormal><span style='color:black'>&quot;</span>You can cut all the flowers but you cannot keep spring from coming.&quot;<b><span style='font-size:10.0pt'><br></span></b><i><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>-Pablo Neruda</span></i><span style='color:black'>.<o:p></o:p></span></p><div><div><div><div><div><div><div><div><div class=MsoNormal><hr size=2 width="100%" align=left></div></div></div></div></div></div></div></div></div></div><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Toby Considine<br>TC9, Inc<o:p></o:p></p><p class=MsoNormal>TC Chair: oBIX &amp; WS-Calendar<o:p></o:p></p><p class=MsoNormal>TC Editor: EMIX, EnergyInterop<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee</span><br><br><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>&nbsp;&nbsp;<o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>Email: <a href="mailto:To&#98;y.&#x43;&#111;&#x6e;s&#105;din&#101;&#64;&#x66;a&#99;&#x2e;&#117;nc.edu" title="mailto:To&#98;y.&#x43;&#111;&#x6e;s&#105;din&#101;&#64;&#x66;a&#99;&#x2e;&#117;nc.edu"><span style='color:windowtext'>Toby.Considine@g...</span></a><br>Phone: (919)619-2104<o:p></o:p></p><p class=MsoNormal>http://www.tcnine.com/<br>blog: www.NewDaedalus.com<o:p></o:p></p></td></tr></table><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50110.html</link><pubDate>Fri, 16 Mar 2012 09:47:38 GMT</pubDate></item><item><title>Re:  RNG vs. XSD : is the use of abstract types and polymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 3/14/12 9:03 PM, Rick Jelliffe wrote:
&gt; I like what Norm wrote.I'd add a couple of things.

As do I, though my things are a little different.

 From my perspective, W3C XML Schema was a trainwreck because its 
foundation structures came from the languages people wanted to use to 
process XML with, not from much precedent in markup itself.  Classical 
inheritance was the way of Java and C++ and many others, and was 
apparently a siren call few could resist.

(At the time I was doing my XML programming in Java, a choice I've since 
concluded was akin to building a garden with a cement mixer.)

XSLT 1.0 may provide a bit of contrast.  I still think leaping from the 
annotation model of CSS to the transformation model of XSLT was drastic 
overkill for the at least theoretical application of SGML on the Web. 
However, unlike W3C XML Schema, XSLT itself was built on the very 
different, and I now think saner foundations of functional programming 
languages.

Yes, it killed OOP and procedural programmers that variables weren't 
variable.  People who hoped XSLT would convert objects to and from XML 
were disappointed to find that it was really about transformations of 
XML to XML.  Those limits, however, are massive strengths when you need 
XSLT to do the kinds of transformations it was built to do.

It's not really a surprise to me that RELAX NG and XSLT 1.0 have a 
common founder in James Clark, who reliably looked beyond the &quot;why can't 
we make it all look like Java&quot; demands of the day.

I can imagine inheritance working well in a schema language.  It might 
be sane, for instance, to create a data type language using prototypal 
inheritance - what JavaScript is good at - rather than locking itself 
into the hierarchies of classical inheritance.  Alas, I haven't had time 
to play with that.

Maybe that's for the best, though.

Thanks,
-- 
Simon St.Laurent
http://simonstl.com/
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40110.html</link><pubDate>Fri, 16 Mar 2012 09:24:49 GMT</pubDate></item><item><title>Deployability of XMLised HTML - authoritative survey? [redux]</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi

I understand from anecdotal reports and my own experiments that it is
possible to get most (recent?) browsers to sensibly interpret and render
well formed XML that &quot;looks a lot like&quot; HTML. With much of HTML, this is
just a matter of matching case and closing &lt;/LI&gt; etc. The treatment of
HTML's &lt;HR&gt; and &lt;BR&gt; as &lt;HR /&gt; and &lt;BR /&gt; is, it seems, workable.
I'd very much like to hear that these anecdotes are true, and that
someone somewhere has undertaken a more comprehensive survey of browser
behaviour. I guess something like this must be going on in the
HTML-futures area -- if so a URL pointer would be very much appreciated.

Thanks for any references,

Dan






c.f. http://www.ch.ic.ac.uk/rzepa/talks/pmr11/xml-dev/9810/0134.html
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30110.html</link><pubDate>Fri, 16 Mar 2012 09:06:50 GMT</pubDate></item><item><title>***Extended deadline: March 26*** COMETS 2012 - 3rd InternationalTrack o</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
************* Deadline Extended to March 26, 2012 ***************

(Please accept our apologies if you receive multiple copies of this message)

#################################################################
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IEEE WETICE 2012
&nbsp; &nbsp; 3rd IEEE Track on Collaborative Modeling and Simulation
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Comets 2012)

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in cooperation with
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AFIS (INCOSE France Chapter)
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MIMOS (Italian Association for M&amp;S)

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CALL FOR PAPERS

#################################################################

June 25-27, 2012, Toulouse (France)
http://www.sel.uniroma2.it/comets12

#################################################################
# Papers Due: March 26, 2012 **** Extended Deadline ****
# Accepted papers will be published in the conference proceedings
# by the IEEE Computer Society Press and indexed by EI.
#################################################################

Modeling and Simulation (M&amp;S) is increasingly becoming a central
activity in the design of new systems and in the analysis of
existing systems because it enables designers and researchers to
investigate systems behavior through virtual representations. For
this reason, M&amp;S is gaining a primary role in many industrial and
research fields, such as space, critical infrastructures,
manufacturing, emergency management, biomedical systems and
sustainable future. However, as the complexity of the
investigated systems increases and the types of investigations
widens, the cost of M&amp;S activities increases for the more
complex models and for the communications among a wider number and
variety of M&amp;S stakeholders (e.g., sub-domain experts, simulator
users, simulator engineers, and final system users). To address
the increasing costs of M&amp;S activities, collaborative
technologies must be introduced to support these activities by
fostering the sharing and reuse of models, by facilitating the
communications among M&amp;S stakeholders, and more generally by
integrating processes, tools and platforms.

Aside from seeking applications of collaborative technologies to
M&amp;S activities, the track seeks innovative contributions that
deal with the application of M&amp;S practices to the design of
collaborative environments. These environments are continuously
becoming more complex, and therefore their design requires
systematic approaches to meet the required quality of
collaboration. This is important for two reasons: to reduce
rework activities on the actual collaborative environment, and to
maximize the productivity and the quality of the process the
collaborative environment supports. M&amp;S offers the methodologies
and tools for such investigations and therefore it can be used to
improve the quality of collaborative environments.

A non&#x2013;exhaustive list of topics of interest includes:

* collaborative environments for M&amp;S
* collaborative Systems of Systems M&amp;S
* workflow modelling for collaborative environments and processes
* agent-based M&amp;S
* collaborative distributed simulation
* collaborative component-based M&amp;S
* net-centric M&amp;S
* web-based M&amp;S
* model sharing and reuse
* model building and evaluation
* modeling and simulation of business processes
* modeling for collaboration
* simulation-based performance evaluation of collaborative networks
* model-driven simulation engineering
* domain specific languages for the simulation of collaborative environments
* domain specific languages for collaborative M&amp;S
* databases and repositories for M&amp;S
* distributed virtual environments
* virtual research environment for M&amp;S
* collaborative DEVS M&amp;S

To stimulate creativity, however, the track maintains a wider
scope and invites interested researchers to present contributions
that offer original perspectives on collaboration and M&amp;S.

+++++++++++++++++++++++++++++++++++
On-Line Submissions and Publication
+++++++++++++++++++++++++++++++++++

CoMetS'12 intends to bring together researchers and practitioners
to discuss key issues, approaches, open problems, innovative
applications and trends in the track research area.

This year, we will accept submissions in two forms:

(1) papers
(2) poster and industrial presentations

(1) Papers should contain original contributions not published or
submitted elsewhere. Papers up to six pages (including figures,
tables and references) can be submitted. Papers should follow the
IEEE format, which is single spaced, two columns, 10 pt
Times/Roman font. All submissions should be electronic (in PDF)
and will be peer-reviewed by at least three program committee
members.

Accepted full papers will be included in the proceedings and
published by the IEEE Computer Society Press (IEEE approval pending).
Please note that at least one author for each accepted paper should
register to attend WETICE 2012 (http://www.wetice.org) to have the
paper published in the proceedings.

(2) Posters should describe a practical, on-the-field, experience in
any domain area using collaborative M&amp;S. The poster submission
requires the submission of an abstract for evaluation from the
organizers. Accepted abstract must be followed by the submission of
a poster which will be displayed at conference time.
With the poster submission, a short (15 minutes) slot might be
allocated for oral presentation illustrating the industrial case.
The presentation may also include a live demo, but it should not
include commercial details.

Interested authors and participants may contact the organizers for
expression of interests and content appropriateness at any time.

Papers and posters can be submitted in PDF format at the submission
site (https://www.easychair.org/conferences/?conf=comets2012),
which is supported by the EasyChair conference management system.
Please feel free to contact the track chairs (co&#109;&#x65;t&#115;20&#49;&#50;&#x40;&#x65;a&#115;&#121;cha&#x69;r.&#x6f;&#114;&#103;)
if you experience problems with the EasyChair Web site.

+++++++++++++++
Important Dates
+++++++++++++++

* Submission Deadline: March 26, 2012 **** Extended deadline ****
* Notification to authors: April 16, 2012
* Camera Ready to IEEE: April 30, 2012
* Conference dates: June 25 - June 27, 2012


++++++++++++++++++++
Organizing Committee
++++++++++++++++++++

* Andrea D'Ambrogio, University of Roma TorVergata, Italy
* Daniele Gianni, European Space Agency, The Netherlands
* Joachim Fuchs, European Space Agency, The Netherlands
* Giuseppe Iazeolla, University of Roma TorVergata, Italy

+++++++++++++++++
Program Committee
+++++++++++++++++

* Santiago Balestrini, Georgia Institute of Technology, USA
* Massimo Bandecchi, European Space Agency, The Netherlands
* Joseph Giampapa, SEI, Carnegie Mellon University, USA
* Alain Kerbrat, CollESys - AFIS, France
* Axel Lehmann, Universitaet der Bundeswehr Muenchen, Germany
* Cristiano Leorato, Rhea, The Netherlands
* Steve McKeever, University of Oxford, UK
* David Nickerson, Auckland Bioengineering Institute, NZ
* Alfred Park, Oak Ridge National Laboratory, USA
* Wolfgang Prinz, Fraunhofer FIT and RWTH Aachen, Germany
* Jos&eacute; L. Risco-Martin, Universidad Complutense de Madrid, Spain
* Jean-Francois Santucci, University of Corsica, France
* Gabriel Wainer, Carleton University, Canada
* Quirien Wijnand, European Space Agency, The Netherlands
* Justyna Zander, Harvard University, USA, and Fraunhofer Institute FOKUS,
Germany
* Heming Zhang, Tsinghua University, China

*** Contact Information ***
Daniele Gianni (track co-chair)
Email: &#x64;&#97;&#110;&#105;ele&#x67;m&#x61;il&#45;com&#101;&#116;&#115;&#64;ya&#104;&#111;&#x6f;&#46;i&#x74;


COMETS 2012 - 3rd IEEE Track on Collaborative Modeling and Simulation
- Call for Papers

************* Deadline Extended to March 26, 2012 ***************

(Please accept our apologies if you receive multiple copies of this message)

#################################################################
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IEEE WETICE 2012
&nbsp; &nbsp; 3rd IEEE Track on Collaborative Modeling and Simulation
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Comets 2012)

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in cooperation with
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AFIS (INCOSE France Chapter)
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MIMOS (Italian Association for M&amp;S)

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CALL FOR PAPERS

#################################################################

June 25-27, 2012, Toulouse (France)
http://www.sel.uniroma2.it/comets12

#################################################################
# Papers Due: March 26, 2012 **** Extended Deadline ****
# Accepted papers will be published in the conference proceedings
# by the IEEE Computer Society Press and indexed by EI.
#################################################################

Modeling and Simulation (M&amp;S) is increasingly becoming a central
activity in the design of new systems and in the analysis of
existing systems because it enables designers and researchers to
investigate systems behavior through virtual representations. For
this reason, M&amp;S is gaining a primary role in many industrial and
research fields, such as space, critical infrastructures,
manufacturing, emergency management, biomedical systems and
sustainable future. However, as the complexity of the
investigated systems increases and the types of investigations
widens, the cost of M&amp;S activities increases for the more
complex models and for the communications among a wider number and
variety of M&amp;S stakeholders (e.g., sub-domain experts, simulator
users, simulator engineers, and final system users). To address
the increasing costs of M&amp;S activities, collaborative
technologies must be introduced to support these activities by
fostering the sharing and reuse of models, by facilitating the
communications among M&amp;S stakeholders, and more generally by
integrating processes, tools and platforms.

Aside from seeking applications of collaborative technologies to
M&amp;S activities, the track seeks innovative contributions that
deal with the application of M&amp;S practices to the design of
collaborative environments. These environments are continuously
becoming more complex, and therefore their design requires
systematic approaches to meet the required quality of
collaboration. This is important for two reasons: to reduce
rework activities on the actual collaborative environment, and to
maximize the productivity and the quality of the process the
collaborative environment supports. M&amp;S offers the methodologies
and tools for such investigations and therefore it can be used to
improve the quality of collaborative environments.

A non&#x2013;exhaustive list of topics of interest includes:

* collaborative environments for M&amp;S
* collaborative Systems of Systems M&amp;S
* workflow modelling for collaborative environments and processes
* agent-based M&amp;S
* collaborative distributed simulation
* collaborative component-based M&amp;S
* net-centric M&amp;S
* web-based M&amp;S
* model sharing and reuse
* model building and evaluation
* modeling and simulation of business processes
* modeling for collaboration
* simulation-based performance evaluation of collaborative networks
* model-driven simulation engineering
* domain specific languages for the simulation of collaborative environments
* domain specific languages for collaborative M&amp;S
* databases and repositories for M&amp;S
* distributed virtual environments
* virtual research environment for M&amp;S
* collaborative DEVS M&amp;S

To stimulate creativity, however, the track maintains a wider
scope and invites interested researchers to present contributions
that offer original perspectives on collaboration and M&amp;S.

+++++++++++++++++++++++++++++++++++
On-Line Submissions and Publication
+++++++++++++++++++++++++++++++++++

CoMetS'12 intends to bring together researchers and practitioners
to discuss key issues, approaches, open problems, innovative
applications and trends in the track research area.

This year, we will accept submissions in two forms:

(1) papers
(2) poster and industrial presentations

(1) Papers should contain original contributions not published or
submitted elsewhere. Papers up to six pages (including figures,
tables and references) can be submitted. Papers should follow the
IEEE format, which is single spaced, two columns, 10 pt
Times/Roman font. All submissions should be electronic (in PDF)
and will be peer-reviewed by at least three program committee
members.

Accepted full papers will be included in the proceedings and
published by the IEEE Computer Society Press (IEEE approval pending).
Please note that at least one author for each accepted paper should
register to attend WETICE 2012 (http://www.wetice.org) to have the
paper published in the proceedings.

(2) Posters should describe a practical, on-the-field, experience in
any domain area using collaborative M&amp;S. The poster submission
requires the submission of an abstract for evaluation from the
organizers. Accepted abstract must be followed by the submission of
a poster which will be displayed at conference time.
With the poster submission, a short (15 minutes) slot might be
allocated for oral presentation illustrating the industrial case.
The presentation may also include a live demo, but it should not
include commercial details.

Interested authors and participants may contact the organizers for
expression of interests and content appropriateness at any time.

Papers and posters can be submitted in PDF format at the submission
site (https://www.easychair.org/conferences/?conf=comets2012),
which is supported by the EasyChair conference management system.
Please feel free to contact the track chairs (come&#116;&#x73;&#x32;01&#x32;&#64;e&#x61;&#x73;&#x79;ch&#97;&#x69;&#x72;.&#111;&#x72;g)
if you experience problems with the EasyChair Web site.

+++++++++++++++
Important Dates
+++++++++++++++

* Submission Deadline: March 26, 2012 **** Extended deadline ****
* Notification to authors: April 16, 2012
* Camera Ready to IEEE: April 30, 2012
* Conference dates: June 25 - June 27, 2012


++++++++++++++++++++
Organizing Committee
++++++++++++++++++++

* Andrea D'Ambrogio, University of Roma TorVergata, Italy
* Daniele Gianni, European Space Agency, The Netherlands
* Joachim Fuchs, European Space Agency, The Netherlands
* Giuseppe Iazeolla, University of Roma TorVergata, Italy

+++++++++++++++++
Program Committee
+++++++++++++++++

* Santiago Balestrini, Georgia Institute of Technology, USA
* Massimo Bandecchi, European Space Agency, The Netherlands
* Joseph Giampapa, SEI, Carnegie Mellon University, USA
* Alain Kerbrat, CollESys - AFIS, France
* Axel Lehmann, Universitaet der Bundeswehr Muenchen, Germany
* Cristiano Leorato, Rhea, The Netherlands
* Steve McKeever, University of Oxford, UK
* David Nickerson, Auckland Bioengineering Institute, NZ
* Alfred Park, Oak Ridge National Laboratory, USA
* Wolfgang Prinz, Fraunhofer FIT and RWTH Aachen, Germany
* Jos&eacute; L. Risco-Martin, Universidad Complutense de Madrid, Spain
* Jean-Francois Santucci, University of Corsica, France
* Gabriel Wainer, Carleton University, Canada
* Quirien Wijnand, European Space Agency, The Netherlands
* Justyna Zander, Harvard University, USA, and Fraunhofer Institute
FOKUS, Germany
* Heming Zhang, Tsinghua University, China

*** Contact Information ***
Daniele Gianni (track co-chair)
Email: &#100;anie&#x6c;&#101;gmai&#x6c;-&#99;o&#x6d;ets&#x40;yah&#x6f;o.&#105;&#116;
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20110.html</link><pubDate>Thu, 15 Mar 2012 23:23:42 GMT</pubDate></item><item><title>Re:  RNG vs. XSD : is the use of abstract types andpolymorphism</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
I like what Norm wrote.I'd add a couple of things.

XML came out of a desire to reduce the bloat of SGML; I think
instigators of RELAX NG harboured the same desire for RELAX NG: use a
powerful model with a few constructs, add some nice sugar (RNC), and
re-use external standards (XSD datatypes).   This is essentially a
pragmatic view, along the &quot;wrong is right&quot; lines. But the essential
use of the schema language was for validation.

The instigators of XSD had a difference set of desires: superset of
DTDs, superset of inheritance, superset of datatypes plus support
database keys, conversion to and from object systems, be able to model
families of schemas like XHTML, and allow some kinds of internal model
checking (abstract, complex type inheritance). The intent was a schema
language for all seasons. The essential use of the schema language was
type assignment, as in data binding: documents build from systems
generated from an XSD schema would necessarily be valid.  A big set of
requirements leads to a big technology leads to a big chance that any
particular adoption of the technology beyond simple validation would
(have to) leave bits out, making it a gamble whether your system could
support a schema. (XSD 1.1 improves the bang per buck over XSD 1.0,
but increases the risk of not being supported.)

When I look at them, I can understand both approaches, from the angle
that the more complex a system is, the more that extra layers of
abstraction are required. RELAX NG has five kinds of modularity
(pattterns, external ref, include, define, combine) while XSD has a
few more.  So you would expect that the more complex your system is,
that RELAX NG will run out of steam for modeling power than XSD does.

However, as your system gets even more complex, XSD's modeling runs
out of steam too. For example, XSD brings little to the picture when
trying to reconcile dialects: it has no ability to say &quot;this attribute
in schema A is the same as this element in schema B&quot; for example.

So in order to cope with these you either need to abandon RELAX NG and
XSD or build extra layers on top. (The same goes for Schematron too.)
For example, the XBRL effort build modeling on top of XSD.

And the result? XSD starts with so much complexity, that anything
built on top that provides a superset of XSD's capabilities is liable
to be bloated and require a lot of buck per bang. Again, XBRL is an
example. Contrast that with RELAX NG: starting from the smaller neater
base allows neater layering of modeling features above it.

This is not an abstract issue. In my job I have to look at schema
issues where modeling is necessary, but both RELAX NG and XSD do not
provide any assistance. The difference is that RELAX NG was designed
in the expectation of semi-custom extra layers, while XSD was designed
in the expectation of integration into a vendor's toolchain: once you
buy into the toolchain you are stuck/blessed with whatever modeling
capabilities the vendor provides.

Next, two minor quibbles.

First I'd note that things like XSD's  abstract type feature can be
(easily?) fitted on top of RELAX NG, using a Schematron schema: you
just check that a particular set of pattern names (LHS) are not used
directly in an element declaration (RHS).  (And remember that XSD's
complex type derivation is used for model checking as a layer, not as
a method of reducing the number of declarations.)  And a check that a
RELAX NG grammar is not ambiguous (something like XSD's UPA) can be
added on top as well, (though perhaps not with Schematron with XPath 1
since it is not good for tracing arbitrary chains)-- IIRC there was a
Japanese system that featured this. As well as the distinction between
what two schema languages support directly (and how well), there is a
useful distinction between what can be layered on top of them (and how
well).   Are these better done as a layer or monolithic? Are these
better provided as a standard layer or left to the market to decide?

Secondly, the  type derivation by single inheritance in XSD is not the
only game in town, as far as modeling.  What complex type inheritance
does is say that X is also valid against base type Y and all the chain
of base types (with the wrinkle that for derivation by extension by
suffixation in XSD 1.0, you use  (Y,  *)  as the base type.  This kind
of extra check can be done on the schema, as I mentioned.  But it can
also be done by validating the document separately with both X and Y.
And, indeed, this turns out to be a more powerful approach: for
example, there is a RELAX NG schema for HTML with one schema for
normal parent child validation, and another schema that handles
exclusion exceptions (e.g. that an html:a cannot have another html:a
underneath it at any level.)     In order to do this constraint in
XHTML 1.0 you (unless there is some trick with &lt;xsl:key&gt;or something
obscure) you would have to have duplicate content types and because
the global element declarations were in use you would have to use
local declarations only.   There are some modeling problems that are
better dealt with as parallel problems, or with multiple inheritance
(for which, in effect, the grammar needs to support ambiguity.)

If your problem is coping with long-lived dialects, and mapping
between concepts and dialects, DTDs, XML Schemas and RELAX NG don't
provide any help. (Schematron's abstract patterns or XBRL or OWL are
nearer, I think.)    It think XSD's marketing tends to give the false
promise that it is big enough to scale to large issues,  when it is
big enough to get in the way.  RELAX NG's marketing is much clearer
(indeed, a premise of ISO DSDL): solve the small problems fist and
leaving the complex modeling to other layers.

Finally, what is interesting to me is that for the last several years,
over a variety of very large projects, I am seeing RELAX NG Compact
being used by content analysts because of its terseness, then
converted to XSD as needed.  This avoids some of the dangerous corners
of XSD, but I think the main reason is generational (people who grew
up on DTDs) but also practical (being able to write a content model on
a single line, being able to see all the parts of a type on a single
screen, not scrabbling around diagrams, not needing to change tools or
views, not hanging around for the editing tool to [expletive deleted] in all the
schema and load it).  So notional modeling power is one aspect, but
convenience and usability (given a set of experiences and
expectations) may trump power.


Cheers
Rick Jelliffe
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10110.html</link><pubDate>Thu, 15 Mar 2012 12:03:49 GMT</pubDate></item><item><title>[ANN] Release of XMLmind DITA Converter v2.2</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
----------------------------------------------------------
XMLmind DITA Converter v2.2 (March 13, 2012)
----------------------------------------------------------
Highlights:

* New extended-toc XSLT stylesheet parameter allows to add
    frontmatter and backmatter topicrefs to the
    Table of Contents.

* More powerful and more flexible specification of page
    headers and footers.

* Many new XSLT stylesheet parameters and attribute-sets
    allowing to customize more easily and more extensively
    the presentation of PDF, RTF, etc, output files.

* Support for Antenna House Formatter.
---------------------------------------------------------

More information in
http://www.xmlmind.com/ditac/changes.html

We plan to integrate XMLmind DITA Converter v2.2 in the following
products:
- XMLmind XSL Utility,
- XMLmind XSL Server,
- XMLmind XML Editor Professional Edition,
very shortly.

---

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00110.html</link><pubDate>Wed, 14 Mar 2012 10:10:40 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types and polymorphi</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
That kind of separation seems logical, particularly in the context of
maintaining the ontology separately, whilst the XML Schemas are manually
kept in sync with the ontology.

Other contexts however do exist:
Imagine an UML ontology which is making good use of abstract classes and
inheritance. Suitable tools can translate UML and generate the XML library
schema components (similar to OASIS UBL's CBC and CAC library schemas). The
generated library components mirror the UML inheritance and abstract
classes. On the other hand, the actual XML document schemas, which are
composed by cherry picking from the XML library components, are not allowed
to define new abstract types or new inheritances.
Such governed use of inheritance and abstract types is almost invisible when
looking at a document schema (good for users), yet provides benefits in
component library structure and use.
For example, document schemas can include the automatically embedded
documentation containing the plain text definition of the UML class
attribute, some of which happen to be inherited attributes.

Just to add a different perspective. 

Juerg
www.d-m-s.co.nz


&gt; -----Original Message-----
&gt; From: Costello, Roger L. [<A  HREF="mailto:co&#115;t&#x65;&#108;l&#x6f;&#64;&#x6d;it&#x72;e&#46;&#111;rg">mailto:co&#115;t&#x65;&#108;l&#x6f;&#64;&#x6d;it&#x72;e&#46;&#111;rg</A>]
&gt; Sent: Wednesday, 14 March 2012 12:30 a.m.
&gt; To: &#x78;&#x6d;l-&#100;&#101;&#x76;&#64;list&#115;&#46;&#x78;ml&#46;&#111;r&#103;
&gt; Subject: RE:  RNG vs. XSD : is the use of abstract types and
&gt; polymorphism a good or bad thing for schemas for XML?
&gt; 
&gt; Hi Folks,
&gt; 
&gt; I have been thinking about the issue of &quot;inheritance&quot; in schema languages
for
&gt; XML.
&gt; 
&gt; Recall that James Clark says (paraphrasing) that it is not the role of a
&gt; schema language to model conceptual or semantic relationships such as
&gt; inheritance. Such relationships are best modeled elsewhere.
&gt; 
&gt; That makes sense to me. Separation of concerns is a good thing. Use a
schema
&gt; language to define a template for syntactic organization. Using my
chocolates
&gt; example, use a schema language to show the organization of boxes
(elements)
&gt; and what chocolates (data) goes into each box.
&gt; 
&gt; Use other technologies for expressing relationships and meaning -- use
&gt; ontologies, data specifications, UML, etc.
&gt; 
&gt; That's a nice, clean separation of concerns. That yields more productivity
and
&gt; better results. (Adam Smith, Wealth of Nations)
&gt; 
&gt; I wonder why XML Schemas ever introduced inheritance machinery (derive-by-
&gt; extension, derive-by-restriction, element substitution) into the language?
&gt; The inheritance machinery muddies things up.  It results in XML Schema
trying
&gt; to be both a language of expressing syntactic template and a poor man's
pseudo
&gt; UMLish relationship ontology language.
&gt; 
&gt; This muddiness has created enormous confusion over the years.
&gt; 
&gt; &quot;XML Schema is just syntax.&quot;
&gt; 
&gt; &quot;No, XML Schema is semantics, just look at the meaning in this inheritance
&gt; tree.&quot;
&gt; 
&gt; It seems that the prudent path is to avoid all inheritance machinery in
XML
&gt; Schema.
&gt; 
&gt; Don't use derive-by-extension, derive-by-restriction, and element
substitution
&gt; . Use XML Schema just for expressing templates of elements and attributes.
&gt; 
&gt; Use ontologies, data specifications, UML, etc. for expressing
relationships
&gt; and meaning.
&gt; 
&gt; Thoughts?
&gt; 
&gt; /Roger
&gt; 
&gt; _______________________________________________________________________
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS to
support
&gt; XML implementation and development. To minimize spam in the archives, you
must
&gt; subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#109;&#108;&#x2d;de&#118;-&#117;&#x6e;sub&#115;cr&#x69;&#98;&#101;&#x40;li&#115;ts.xml&#46;or&#103;
&gt; subscribe: x&#x6d;l&#x2d;&#100;ev&#45;s&#117;&#98;&#115;cri&#x62;&#101;&#x40;&#108;&#105;sts.x&#109;&#x6c;.&#111;rg List archive:
&gt; http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90100.html</link><pubDate>Wed, 14 Mar 2012 08:29:35 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Roger,

While there may be something to what you're saying--my experience of XML and XML Schema is much too narrow to say--it does seem to me that you're committing a number of category errors here (as in many of your previous posts on syntax and semantics). Let me try to sketch an alternative vision, using a poor-man's plain-text formalism:

Syntax:

(1) XML is a language (&quot;XML&quot;). (Please take &quot;language&quot; here in its standard sense as used in formal language theory, mutatis mutandis.)
(2) It is also, therefore, an infinite set of languages, { XL1, XL2, XL3, ... XLn ... }, each a subset of XML. Some of these are useful to someone, most aren't (in many cases just because they haven't been thought of, and in many more cases because they're lousy languages; please take &quot;lousy&quot; as an undefined primitive predicate to which a variety of intuitive notions may be attached).
(3) An XML schema language is used to define particular XML-subset languages. It does this by defining a test for well-formed-documenthood in the definiendum (&quot;[language] to be defined&quot;).
(4) The objects modeled in an XML schema language are syntactical objects in the XML-subset languages it will be used to define.
(5) There are various ways an XML schema language can describe its objects. A highly inefficient but instructive one, for instance, would be an enumeration of the all the well-formed documents in the definiendum. A more sophisticated approach might employ some notions or notions of type, which is just some sort of pattern, more or less detailed in its description. Yet more sophisticated approaches might classify or parameterize those types in various ways. In any event, there is a large body of literature on grammars and what kinds of languages they can model. (See &quot;Chomsky hierarchy&quot; in any formal grammar textbook or reference.)

Semantics:

(A) The semantics of a language can be usefully defined as the set of mappings of &quot;meanings&quot; (we'll leave that deliberately vague) that are mapped onto the language's constructs by users of the language.
(B) Any language that employs words or other meaningful constructs from some other widely used language (such as English) will therefore have a semantics, except in the unusual case in which all its users are unfamiliar with the widely used language.
(C) The syntax of a language limits what kinds of assertions (etc.) about its semantic objects can be expressed in that language.

Some theses about XML that follow:

(T1) The ways a particular XML schema language permits its users to describe its objects (see 4 and 5) have indirectly to do with the semantic ranges of its definienda (by 5 and C).
(T2) Because XML schema languages generally include lots of XML tags from their definienda, and because those tags are generally drawn from widely-used natural languages, a fair smattering of the definiendum's semantics is to be found in the typical XML schema language instance (by B).
(T3) It will be easy for humans, with all their capacity for muddleheadedness as well as connection-making and understanding, to suppose at times when working in an XML schema language that they are saying something about the semantics of the definiendum (by all of the above); in many cases this will be benign (by common observation).
(T4) In contexts in which precision on these points matters, it would be a good thing for the designer of an XML subset language to insure he gives the language sufficient syntactical resources to do its intended semantic job (see C) and to try to avoid loading up the language with unintended, extraneous, or damagingly ambiguous meanings (see B); it would also be a good thing for the writer of any grammar for that language to understand that his job is to define the syntax of the definiendum as clearly and precisely as possible, and to use a grammar language (such as an XML schema language) that will support the project's practical implementation requirements as well as possible. (All of which follows from the general principle that a person who understands what he's doing will frequently do a better job than a person who doesn't.)

Beyond that, I don't think you can go without risk of ideological-purity-unto-irrelevance (see Ron &quot;Consistency&quot; Paul, e.g.)

Norm Birkett

&gt; -----Original Message-----
&gt; From: Costello, Roger L. [<A  HREF="mailto:cos&#x74;ello&#x40;&#x6d;it&#114;&#101;.&#x6f;r&#103;">mailto:cos&#x74;ello&#x40;&#x6d;it&#114;&#101;.&#x6f;r&#103;</A>]
&gt; Sent: Tuesday, March 13, 2012 7:30 AM
&gt; To: &#x78;ml-d&#x65;v&#x40;&#108;i&#115;&#116;&#x73;&#x2e;&#120;&#109;l.org
&gt; Subject: RE:  RNG vs. XSD : is the use of abstract types and
&gt; polymorphism a good or bad thing for schemas for XML?
&gt; 
&gt; Hi Folks,
&gt; 
&gt; I have been thinking about the issue of &quot;inheritance&quot; in schema
&gt; languages for XML.
&gt; 
&gt; Recall that James Clark says (paraphrasing) that it is not the role of
&gt; a schema language to model conceptual or semantic relationships such as
&gt; inheritance. Such relationships are best modeled elsewhere.
&gt; 
&gt; That makes sense to me. Separation of concerns is a good thing. Use a
&gt; schema language to define a template for syntactic organization. Using
&gt; my chocolates example, use a schema language to show the organization
&gt; of boxes (elements) and what chocolates (data) goes into each box.
&gt; 
&gt; Use other technologies for expressing relationships and meaning -- use
&gt; ontologies, data specifications, UML, etc.
&gt; 
&gt; That's a nice, clean separation of concerns. That yields more
&gt; productivity and better results. (Adam Smith, Wealth of Nations)
&gt; 
&gt; I wonder why XML Schemas ever introduced inheritance machinery (derive-
&gt; by-extension, derive-by-restriction, element substitution) into the
&gt; language?  The inheritance machinery muddies things up.  It results in
&gt; XML Schema trying to be both a language of expressing syntactic
&gt; template and a poor man's pseudo UMLish relationship ontology language.
&gt; 
&gt; This muddiness has created enormous confusion over the years.
&gt; 
&gt; &quot;XML Schema is just syntax.&quot;
&gt; 
&gt; &quot;No, XML Schema is semantics, just look at the meaning in this
&gt; inheritance tree.&quot;
&gt; 
&gt; It seems that the prudent path is to avoid all inheritance machinery in
&gt; XML Schema.
&gt; 
&gt; Don't use derive-by-extension, derive-by-restriction, and element
&gt; substitution . Use XML Schema just for expressing templates of elements
&gt; and attributes.
&gt; 
&gt; Use ontologies, data specifications, UML, etc. for expressing
&gt; relationships and meaning.
&gt; 
&gt; Thoughts?
&gt; 
&gt; /Roger
&gt; 
&gt; _______________________________________________________________________
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: xm&#108;-d&#x65;v-u&#110;&#115;ub&#x73;c&#x72;&#105;&#98;e&#x40;l&#x69;st&#115;&#46;xml.&#x6f;&#x72;&#103;
&gt; subscribe: x&#x6d;l&#x2d;d&#101;&#x76;&#x2d;&#x73;ubsc&#x72;&#105;&#98;e&#64;li&#115;&#116;&#x73;.&#x78;&#x6d;l.o&#114;g
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80100.html</link><pubDate>Tue, 13 Mar 2012 13:10:46 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Like it or not, XML Schema has this dual use.
Look at JAXB ... its uses XML Schema to create types and their representations in programming languages.
Look at the type system on XQuery and XSLT.  These are full-fledged data types including inheritance.
Inheritance is very useful in type aware XQuery and XSLT usages as you can do matching (xslt) and typeswitching (xquery)
on types and you dont have to enumerate all the types, only a common base type if that is what you want.  
It may or may not have been a mistake to combine syntax with type modeling in XML Schema,
but its more of a mistake to say now after the fact 'don't use them'.

just my opinion.


----------------------------------------
David A. Lee
dle&#101;&#x40;c&#x61;lldei.com
http://www.xmlsh.org

&gt; -----Original Message-----
&gt; From: Costello, Roger L. [<A  HREF="mailto:&#99;&#111;s&#x74;&#101;&#x6c;lo&#x40;&#109;it&#114;&#x65;.org">mailto:&#99;&#111;s&#x74;&#101;&#x6c;lo&#x40;&#109;it&#114;&#x65;.org</A>]
&gt; Sent: Tuesday, March 13, 2012 7:30 AM
&gt; To: &#x78;&#109;&#108;&#45;d&#101;v&#64;&#x6c;i&#x73;t&#x73;.&#x78;ml.&#x6f;rg
&gt; Subject: RE:  RNG vs. XSD : is the use of abstract types and
&gt; polymorphism a good or bad thing for schemas for XML?
&gt; 
&gt; Hi Folks,
&gt; 
&gt; I have been thinking about the issue of &quot;inheritance&quot; in schema languages for
&gt; XML.
&gt; 
&gt; Recall that James Clark says (paraphrasing) that it is not the role of a schema
&gt; language to model conceptual or semantic relationships such as inheritance.
&gt; Such relationships are best modeled elsewhere.
&gt; 
&gt; That makes sense to me. Separation of concerns is a good thing. Use a schema
&gt; language to define a template for syntactic organization. Using my chocolates
&gt; example, use a schema language to show the organization of boxes (elements)
&gt; and what chocolates (data) goes into each box.
&gt; 
&gt; Use other technologies for expressing relationships and meaning -- use
&gt; ontologies, data specifications, UML, etc.
&gt; 
&gt; That's a nice, clean separation of concerns. That yields more productivity and
&gt; better results. (Adam Smith, Wealth of Nations)
&gt; 
&gt; I wonder why XML Schemas ever introduced inheritance machinery (derive-by-
&gt; extension, derive-by-restriction, element substitution) into the language?  The
&gt; inheritance machinery muddies things up.  It results in XML Schema trying to be
&gt; both a language of expressing syntactic template and a poor man's pseudo
&gt; UMLish relationship ontology language.
&gt; 
&gt; This muddiness has created enormous confusion over the years.
&gt; 
&gt; &quot;XML Schema is just syntax.&quot;
&gt; 
&gt; &quot;No, XML Schema is semantics, just look at the meaning in this inheritance
&gt; tree.&quot;
&gt; 
&gt; It seems that the prudent path is to avoid all inheritance machinery in XML
&gt; Schema.
&gt; 
&gt; Don't use derive-by-extension, derive-by-restriction, and element substitution .
&gt; Use XML Schema just for expressing templates of elements and attributes.
&gt; 
&gt; Use ontologies, data specifications, UML, etc. for expressing relationships and
&gt; meaning.
&gt; 
&gt; Thoughts?
&gt; 
&gt; /Roger
&gt; 
&gt; ___________________________________________________________________
&gt; ____
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: xml&#x2d;&#100;&#101;&#x76;-&#117;&#110;s&#117;&#98;s&#x63;r&#105;b&#101;&#x40;&#108;ist&#x73;.x&#109;l&#x2e;&#x6f;&#x72;&#103;
&gt; subscribe: &#x78;ml-&#100;ev&#45;su&#98;sc&#114;i&#x62;e&#64;l&#x69;s&#116;s&#x2e;&#120;&#x6d;l.o&#114;g
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70100.html</link><pubDate>Tue, 13 Mar 2012 11:44:06 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Folks,

I have been thinking about the issue of &quot;inheritance&quot; in schema languages for XML.

Recall that James Clark says (paraphrasing) that it is not the role of a schema language to model conceptual or semantic relationships such as inheritance. Such relationships are best modeled elsewhere.

That makes sense to me. Separation of concerns is a good thing. Use a schema language to define a template for syntactic organization. Using my chocolates example, use a schema language to show the organization of boxes (elements) and what chocolates (data) goes into each box. 

Use other technologies for expressing relationships and meaning -- use ontologies, data specifications, UML, etc.

That's a nice, clean separation of concerns. That yields more productivity and better results. (Adam Smith, Wealth of Nations)

I wonder why XML Schemas ever introduced inheritance machinery (derive-by-extension, derive-by-restriction, element substitution) into the language?  The inheritance machinery muddies things up.  It results in XML Schema trying to be both a language of expressing syntactic template and a poor man's pseudo UMLish relationship ontology language. 

This muddiness has created enormous confusion over the years. 

&quot;XML Schema is just syntax.&quot;   

&quot;No, XML Schema is semantics, just look at the meaning in this inheritance tree.&quot;

It seems that the prudent path is to avoid all inheritance machinery in XML Schema. 

Don't use derive-by-extension, derive-by-restriction, and element substitution . Use XML Schema just for expressing templates of elements and attributes. 

Use ontologies, data specifications, UML, etc. for expressing relationships and meaning.

Thoughts?

/Roger
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60100.html</link><pubDate>Tue, 13 Mar 2012 11:29:52 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
In my opinion, what is &quot;conceptual&quot; and what is a &quot;Model&quot; depends on the use cases. 
Suppose I want to model a language type hierarchy.  Then &quot;Inheritance&quot; is not just conceptual, its the actual model.
In fact, as far as I can tell, this is exactly what the type system in XQuery and XSLT are ... and as I'm learning, one reason RNG cannot be used to supply the type information for them.
 
That doesnt necessarily mean its 'wrong' ... just that it is not solving the particular problem of modeling types for XQuery and XSLT.


----------------------------------------
David A. Lee
dle&#101;&#x40;&#x63;&#x61;ll&#x64;&#101;i.&#x63;&#111;&#109;
http://www.xmlsh.org


&gt; -----Original Message-----
&gt; From: Costello, Roger L. [<A  HREF="mailto:&#99;o&#115;&#x74;&#101;l&#x6c;&#x6f;&#x40;&#x6d;i&#x74;re&#46;o&#114;g">mailto:&#99;o&#115;&#x74;&#101;l&#x6c;&#x6f;&#x40;&#x6d;i&#x74;re&#46;o&#114;g</A>]
&gt; Sent: Monday, March 12, 2012 2:13 PM
&gt; To: xml-&#100;&#x65;v&#64;&#x6c;&#x69;&#115;&#x74;s&#46;xm&#108;&#x2e;o&#114;&#x67;
&gt; Subject: RE:  RNG vs. XSD : is the use of abstract types and
&gt; polymorphism a good or bad thing for schemas for XML?
&gt; 
&gt; James Clark asserts that it is not the role of a schema language to model
&gt; &quot;conceptual&quot; relationships such as inheritance. Such relationships are best
&gt; modeled elsewhere.
&gt; 
&gt; Let us suppose that James is correct.
&gt; 
&gt; Question: Is it best practice to avoid the inheritance machinery provided in XML
&gt; Schema -- derive-by-extension, derive-by-restriction, and element substitution?
&gt; What are the practical benefits of doing so?
&gt; 
&gt; /Roger
&gt; 
&gt; 
&gt; ___________________________________________________________________
&gt; ____
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: &#x78;&#x6d;l&#x2d;&#100;ev&#45;&#x75;n&#115;u&#98;sc&#114;&#x69;b&#x65;&#x40;lis&#x74;&#115;.&#x78;&#x6d;l&#x2e;o&#x72;&#103;
&gt; subscribe: &#x78;m&#x6c;&#x2d;d&#101;&#118;-&#115;&#117;b&#x73;cr&#x69;be&#x40;li&#x73;&#x74;&#x73;.&#x78;&#109;&#108;.o&#x72;&#103;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50100.html</link><pubDate>Mon, 12 Mar 2012 18:20:17 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
James Clark asserts that it is not the role of a schema language to model &quot;conceptual&quot; relationships such as inheritance. Such relationships are best modeled elsewhere.

Let us suppose that James is correct.

Question: Is it best practice to avoid the inheritance machinery provided in XML Schema -- derive-by-extension, derive-by-restriction, and element substitution? What are the practical benefits of doing so?

/Roger

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40100.html</link><pubDate>Mon, 12 Mar 2012 18:12:46 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Very interesting.  This also more clearly explains why RNG does not provide &quot;type&quot; like XSD does.
It provides validation but not typing.

I don't agree with the premise, however, that representing inheritance (or type) is irrelevant to the conceptual model. 
What if the conceptual model is in fact inheritance as opposed to a mechanism of representing a conceptual model.
It may be irrelevant to some classes of conceptual models ... 

----------------------------------------
David A. Lee
dlee&#64;c&#x61;&#x6c;&#x6c;&#x64;&#x65;i&#46;co&#109;
http://www.xmlsh.org

&gt; -----Original Message-----
&gt; From: Costello, Roger L. [<A  HREF="mailto:co&#x73;t&#x65;llo&#x40;&#109;&#105;t&#x72;&#x65;.&#x6f;r&#103;">mailto:co&#x73;t&#x65;llo&#x40;&#109;&#105;t&#x72;&#x65;.&#x6f;r&#103;</A>]
&gt; Sent: Monday, March 12, 2012 1:04 PM
&gt; To: xm&#x6c;-&#100;&#101;v&#64;lis&#116;s&#x2e;&#x78;m&#x6c;.&#111;r&#103;
&gt; Subject: RE:  RNG vs. XSD : is the use of abstract types and
&gt; polymorphism a good or bad thing for schemas for XML?
&gt; 
&gt; John Cowan wrote:
&gt; 
&gt; &gt; See http://www.thaiopensource.com/relaxng/design.html#section:15
&gt; &gt; for James's thinking on inheritance in schema languages.
&gt; 
&gt; Fascinating!
&gt; 
&gt; Here are a few excepts from the article:
&gt; 
&gt;     One of the most significant differences between RELAX NG and
&gt;     W3C XML Schema is that RELAX NG does not have any concept
&gt;     of inheritance.
&gt; 
&gt;     Inheritance has proven to be very useful in modeling languages
&gt;     such as UML. However, I would argue that trying to make an XML
&gt;     schema language also be a modeling language is not a good idea.
&gt;     An XML schema language has to be concerned with syntactic details,
&gt;     such as whether to use elements or attributes, which are irrelevant
&gt;     to the conceptual model.
&gt; 
&gt;     ... there is no need for it to support inheritance; the role of the schema
&gt;     language is purely to describe the XML syntax used to represent the
&gt;     conceptual model.
&gt; 
&gt;     ... the role of the schema language is purely to describe the XML syntax
&gt;     used to represent the conceptual model. RELAX NG has the advantage in
&gt;     this role that it provides more flexibility in the choice of syntax.
&gt; 
&gt; /Roger
&gt; 
&gt; 
&gt; ___________________________________________________________________
&gt; ____
&gt; 
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt; 
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#x6d;&#108;-d&#101;v&#x2d;u&#x6e;&#x73;u&#x62;scrib&#101;&#64;li&#x73;ts&#x2e;&#120;ml&#x2e;&#x6f;&#114;g
&gt; subscribe: xml-&#x64;e&#118;&#x2d;&#115;&#x75;&#98;&#x73;&#x63;&#x72;&#105;be&#x40;l&#x69;&#x73;ts.x&#x6d;&#108;.or&#103;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt; 


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30100.html</link><pubDate>Mon, 12 Mar 2012 17:14:31 GMT</pubDate></item><item><title>RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
John Cowan wrote:

&gt; See http://www.thaiopensource.com/relaxng/design.html#section:15 
&gt; for James's thinking on inheritance in schema languages.

Fascinating!

Here are a few excepts from the article:

    One of the most significant differences between RELAX NG and 
    W3C XML Schema is that RELAX NG does not have any concept 
    of inheritance. 

    Inheritance has proven to be very useful in modeling languages 
    such as UML. However, I would argue that trying to make an XML 
    schema language also be a modeling language is not a good idea. 
    An XML schema language has to be concerned with syntactic details, 
    such as whether to use elements or attributes, which are irrelevant 
    to the conceptual model.

    ... there is no need for it to support inheritance; the role of the schema 
    language is purely to describe the XML syntax used to represent the 
    conceptual model.

    ... the role of the schema language is purely to describe the XML syntax 
    used to represent the conceptual model. RELAX NG has the advantage in 
    this role that it provides more flexibility in the choice of syntax.

/Roger

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20100.html</link><pubDate>Mon, 12 Mar 2012 17:04:15 GMT</pubDate></item><item><title>Re:  RNG vs. XSD :  is the use of abstract types and polymorphi</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 12/03/2012 14:37, Costello, Roger L. wrote:
&gt; Hi Folks,
&gt;
&gt; James Clark and MURATA Makoto are the two principles that were
&gt; involved in designing RELAX NG.
&gt;
&gt; I noticed that they did not incorporate into RELAX NG these
&gt; features:
&gt;
&gt; - a reusable collection of elements and attributes that is
&gt; designated &quot;abstract&quot;
&gt;
&gt; -- XML Schema has this. It is a complexType with abstract=&quot;true&quot;
&gt;
&gt; - polymorphism (i.e., the ability to replace one thing with another
&gt; provided both things descend from the same type)
&gt;
&gt; -- XML Schema has this. It is element substitution and type
&gt; substitution
&gt;
&gt;
&gt; I wonder why James Clark and MURATA Makoto didn't incorporate
&gt; abstract types and polymorphism into RELAX NG?

relaxng patterns correspond to structural typing, so both of these
things are automatic (or irrelevant depending on your point of view)

In xsd you can have two types that have identical structure but
different names. unless you declare suitable inheritance or substitution
rules they will not be interchangeable. A relaxng pattern in essentially
just a macro for a fragment of a content model, so if they have the same
structure they are always interchangeable.

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00100.html</link><pubDate>Mon, 12 Mar 2012 14:51:46 GMT</pubDate></item><item><title>RNG vs. XSD :  is the use of abstract types and polymorphism a goodor ba</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Folks,

James Clark and MURATA Makoto are the two principles that were involved in designing RELAX NG.

I noticed that they did not incorporate into RELAX NG these features:

- a reusable collection of elements and attributes that is designated &quot;abstract&quot; 

   -- XML Schema has this. It is a complexType with abstract=&quot;true&quot;

- polymorphism (i.e., the ability to replace one thing with another provided both things descend from the same type)

   -- XML Schema has this. It is element substitution and type substitution


I wonder why James Clark and MURATA Makoto didn't incorporate abstract types and polymorphism into RELAX NG? 

James Clark and MURATA Makoto are both really, really smart guys. 

I am sure they had good reasons for not incorporating these things.

I can think of two possible reasons:

(1) They determined that abstract types and polymorphism are not appropriate for a schema language for XML.

(2) They determined that incorporating those features would have made RELAX NG too complicated.

If the reason is (1) then I would like to know why abstract types and polymorphism are not appropriate for a schema language for XML? Are there dangers in designing schemas for XML that use abstract types and polymorphism? Does James Clark and MURATA Makoto recommend, when using XML Schemas, avoiding its abstract types and polymorphism?

/Roger



</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90090.html</link><pubDate>Mon, 12 Mar 2012 14:37:05 GMT</pubDate></item><item><title>Re:  RNG vs. XSD :  is the use of abstract types andpolymorphis</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Costello, Roger L. scripsit:

&gt; If the reason is (1) then I would like to know why abstract types and
&gt; polymorphism are not appropriate for a schema language for XML? Are
&gt; there dangers in designing schemas for XML that use abstract types
&gt; and polymorphism? Does James Clark and MURATA Makoto recommend, when
&gt; using XML Schemas, avoiding its abstract types and polymorphism?

See http://www.thaiopensource.com/relaxng/design.html#section:15 for
James's thinking on inheritance in schema languages.

I would add that XML Schema expresses three kinds of constraints:
schema-instance constraints (the schema limits what the instance can
contain), schema-schema constraints (parts of the schema limits what
other parts of the schema can contain), and instance-instance constraints
(parts of the instance limit what other parts of the instance can contain,
as specified by the schema).  Type extension and restriction belong to
the second class of constraints, but RELAX NG expresses only the first
class (except for DTD-compatible ID and IDREF(S), which are a trivial
example of the third class).

-- 
John Cowan  http://ccil.org/~cowan    c&#x6f;w&#97;n&#x40;&#x63;c&#105;l.&#x6f;&#x72;&#103;
There are books that are at once excellent and boring.  Those that at
once leap to the mind are Thoreau's Walden, Emerson's Essays, George
Eliot's Adam Bede, and Landor's Dialogues.  --Somerset Maugham
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10100.html</link><pubDate>Mon, 12 Mar 2012 12:41:19 GMT</pubDate></item><item><title>Re:  what's missing in XML? What's coming?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
David Lee scripsit:

&gt; 1) A Standard (or well adopted convention) for Serialized XDM so that
&gt; programs may exchange XDM in addition to XML
&gt; 
&gt; 2) Better support for XDM in XQuery and XSLT to allow the input 'document'
&gt; to be any XDM value, and corresponding support in the implementations to
&gt; portably read such data (see #1)
&gt; 
&gt; 3) Adoption of the JSON Data model into XDM so that XPath/XSLT/XQuery/Schema
&gt; can be directly used on JSON data
&gt; 
&gt; 4) A standard/convention for JSON / XDM conversions  to allow #1 as  both
&gt; input and output.

I think these can be all achieved with an upward-compatible extension to
JSON, adding new syntax to represent the types of XDM 3.0, since that
already has sequences and mappings.  The obvious extension is to allow
an Element Node to be represented using the syntax of an XML element:

	{&quot;foo&quot; = &lt;element/&gt;, &quot;bar&quot; = &lt;simple&gt;element&lt;/simple&gt;}

	[&lt;this/&gt;, &lt;that&gt;, &lt;the&gt;&lt;other/&gt;&lt;/the&gt;]

The same story for Comment and PI nodes:

	[&lt;!-- here's a comment node --&gt;, &lt;?here is a PI/&gt;]

Typed literals can be done as in Turtle or SPARQL:

	{&quot;value&quot; = &quot;32767&quot;^^xsd:short}

Attribute and Namespace nodes can be done thus:

	{&quot;this&quot; = @this = &quot;thisval&quot;, &quot;that&quot; = @xmlns:foo =
	&quot;http://example&quot;}

Lastly, a Document node might look like a sequence preceded by the word
&quot;document&quot;:

	document [&lt;!-- prolog comment --&gt;, &lt;root/&gt;, &lt;!-- epilog --&gt;]

-- 
A mosquito cried out in his pain,               John Cowan
&quot;A chemist has poisoned my brain!&quot;              http://www.ccil.org/~cowan
        The cause of his sorrow                 &#x63;o&#x77;&#97;&#x6e;&#64;&#99;c&#x69;l&#46;&#111;r&#x67;
        Was para-dichloro-
Diphenyltrichloroethane.                                (aka DDT)
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80090.html</link><pubDate>Sun, 11 Mar 2012 15:46:46 GMT</pubDate></item><item><title>Is &amp;quot;visible&amp;quot; a part of the data?  Toward the day when the data isthe pro</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Hi Folks,

I am creating the architectural plan of a building.

At the appropriate time I will make my plan visible for others to see.

Should my plan contain data that indicates whether it is visible?

    visible :: (yes | no)

I am thinking that my architectural plan document should contain &quot;visible&quot; data.

In this message I will attempt to persuade you that my plan should contain &quot;visible&quot; data.

Here's my argument:

Case #1

Let's first consider the case where my plan does not contain &quot;visible&quot; data.

Then there must be some mechanism (perhaps a software program) that, at the appropriate time, makes the plan visible.

That mechanism is in control -- it controls the visibility of my architectural plan.

To put it another way, the mechanism controls the data.

I assert that that is the opposite to what is desired. What is desired is for the data to control the mechanism. Even better, the data is the mechanism.

Case #2

Let's now consider the case where my architectural plan document does contain &quot;visible&quot; data.

At the appropriate time &quot;visible&quot; is changed to the value &quot;yes.&quot; Once that happens my architectural plan is visible for others to see.

&quot;Hmm, how did your plan become visible?&quot; you ask.

There are ways to accomplish this using today's technology: there may be a software program that regularly inspects &quot;visible&quot; in my architecture plan document; once the software program detects that &quot;visible&quot; has the value &quot;yes&quot; then the program moves the document into a folder that is viewable by others.

Using today's technology there is a distinct separation between the data and the program: 

    A program processes the data.

I assert that in the (near) future there will be no separation between the data and the program: 

    The data is the program. When the data changes, the world changes.

Thus, once &quot;visible&quot; is changed to &quot;yes&quot; my architectural plan is visible.

This probably sounds like hocus pocus, but there is a more fundamental issue underlying. 

The issue is one of control.

In the first case, where there is no &quot;visible&quot; data, the program is entirely in control. There is no change in visibility of my architectural plan document unless and until the program does something.

In the second case, where there is &quot;visible&quot; data, the architectural plan document is entirely in control. There is no change in visibility of my architectural plan document unless and until the data changes.

That is a huge difference.

------

Okay, that's my argument. 

Have I persuaded you that &quot;visible&quot; should be part of my architectural plan document? If not, what is my argument missing, where has my argument run astray?

/Roger






</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60090.html</link><pubDate>Sun, 11 Mar 2012 14:33:58 GMT</pubDate></item><item><title>Re:  Is &amp;quot;visible&amp;quot; a part of the data? Toward the day whenthe da</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Mar 11, 2012 9:39 AM, &quot;Costello, Roger L.&quot; &lt;cos&#116;&#x65;llo&#64;&#x6d;it&#114;&#x65;&#46;&#111;&#x72;g&gt; wrote:

&gt;
&gt; Have I persuaded you that &quot;visible&quot; should be part of my architectural plan document? If not, what is my argument missing, where has my argument run astray?
&gt;

No, you are confusing document state with authorization.  You have two
roles for your document: creator and viewer.  You have two states:
draft and published.  Who get's to see what is dependent on their role
and the state of the document.  &quot;Visible&quot; is one small part of the
authorizations attached to a given role. At best it makes some sense
to embed the state of the document in the document (as metadata).  The
matrix of what role has what authorization is probably also dependent
on context the document is being used in at any given moment, so I
doubt there is ever a valid reason to embed the state / role matrix in
the document; there could be many of them...
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70090.html</link><pubDate>Sun, 11 Mar 2012 11:25:42 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
&quot; understanding how the people and necessary tasks interact, and that's a
different sort of skill than programming.&quot;

Actually... no.  Unless one understands the human in the loop problems,
writing a GUI they WILL use is damn near impossible.   Auto-generators are
great.  IronSpeed is a marvel.  But getting the data up in a form they can
recognize without much training is a programming art.  The non-programming
art is selling it.  Very different mindset.

Disclaimer:  I haven't programmed to the
touch-me-squeeze-me-flip-me-make-me-write-bad-checks interfaces for pads and
mobile.   I'd love to read some comparative experiences.

len


-----Original Message-----
From: Liam R E Quin [<A  HREF="mailto:&#108;ia&#x6d;&#x40;w&#51;&#46;&#111;rg">mailto:&#108;ia&#x6d;&#x40;w&#51;&#46;&#111;rg</A>] 
Sent: Thursday, March 08, 2012 9:42 PM
To: Len Bullard
Cc: &#x78;ml&#x2d;dev&#64;&#x6c;is&#x74;&#x73;.x&#109;l.&#111;&#114;g
Subject: Re:  Should XML Professionals Be Programmers?

On Thu, 2012-03-08 at 10:27 -0600, Len Bullard wrote:
&gt; It's a general qualifications question:  do you expect an XML
&gt; professional to:

&gt; 1.	Be able to correctly interpret DTD/Schema?
&gt; 2.	Write or modify a DTD/Schema
&gt; 3.	Code and/or test and modify XSLT.
&gt; 4.	Program at least to a level of proficiency to build simple
&gt; productivity tools (for example, basic querying of XML in some form)

Not necessarily.

Someone doing day-to-day text processing will be much more productive if
they can write scripts, use regular expressions, and do not wear overly
restrictive clothing.

If that day-to-day work involves _creating_ schemas, or working with
multiple types of document, familiarity with the validation languages in
use may be a distinct plus, for sure.

&quot;What Every Unix Programmer Should Know&quot; isn't all that far away from
&quot;What Every XML Developer Should Know&quot; in practice, with languages like
XLST, XSD and XQuery taking the place of shell scripts, sed scripts and
awk programs.

The big questions are not only &quot;does she know the details?&quot; but, &quot;does
he work with the bigger picture in mind?&quot;  Introducing XML into a
workflow involves understanding how the people and necessary tasks
interact, and that's a different sort of skill than programming.

Similarly, transcribing and marking up XML documents (medieval Greek
travel diaries, for example) may require understanding of the documents
and they way they use structure and language - their rhetorical nature,
if you will - and again that's not primarily a programming perspective,
although in designing the markup it's necessary to discuss needs with
whoever will be responsible for processing the marked up documents.

There's no single answer.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/


_______________________________________________________________________

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: xm&#108;&#45;&#100;&#101;v&#x2d;u&#110;&#x73;&#x75;bsc&#x72;&#105;&#98;e&#x40;&#x6c;&#x69;sts.x&#109;&#108;.or&#103;
subscribe: xm&#108;-&#x64;&#101;&#x76;&#45;s&#x75;&#98;s&#x63;&#x72;i&#98;&#x65;&#64;li&#115;&#116;s.x&#x6d;&#x6c;.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50090.html</link><pubDate>Fri, 09 Mar 2012 18:20:39 GMT</pubDate></item><item><title>Re:  EXI: was : RE:  what's missing in XML? What's com</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
&gt; OK.  Where's the code?

I doubt the code will be released.  But I don't see why that matters.  If 
you disbelieve the claim that it's possible to build 'fast enough' parsers 
without the code, so be it. But you do not need the code to be able to 
take our concern about balkanization at face value.

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40090.html</link><pubDate>Fri, 09 Mar 2012 11:05:06 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
In organizations that understand how to process information such that  
creating the XML is efficient and accurate, this can be so.  If an  
organization doesn't have that understanding, then being able to  
program to a level consistent with  the objectives is how one can  
achieve them effectively.

On the other hand, if the supervisor says &quot;I pay you to do XML, not  
program&quot;, then it's pretty obvious that they don't understand the  
objectives and effective ways to meet them.  The &quot;tagger&quot; philosophy  
is actively harmful.  It is a mindset we supported to get editors that  
enable correct by construction editing, but I think we were wrong or  
expected too much of these tools and harmed our industry.

len


Quoting Liam R E Quin &lt;&#x6c;&#x69;am&#x40;w3.&#x6f;rg&gt;:

&gt; On Thu, 2012-03-08 at 10:27 -0600, Len Bullard wrote:
&gt;&gt; It's a general qualifications question:  do you expect an XML
&gt;&gt; professional to:
&gt;
&gt;&gt; 1.	Be able to correctly interpret DTD/Schema?
&gt;&gt; 2.	Write or modify a DTD/Schema
&gt;&gt; 3.	Code and/or test and modify XSLT.
&gt;&gt; 4.	Program at least to a level of proficiency to build simple
&gt;&gt; productivity tools (for example, basic querying of XML in some form)
&gt;
&gt; Not necessarily.
&gt;
&gt; Someone doing day-to-day text processing will be much more productive if
&gt; they can write scripts, use regular expressions, and do not wear overly
&gt; restrictive clothing.
&gt;
&gt; If that day-to-day work involves _creating_ schemas, or working with
&gt; multiple types of document, familiarity with the validation languages in
&gt; use may be a distinct plus, for sure.
&gt;
&gt; &quot;What Every Unix Programmer Should Know&quot; isn't all that far away from
&gt; &quot;What Every XML Developer Should Know&quot; in practice, with languages like
&gt; XLST, XSD and XQuery taking the place of shell scripts, sed scripts and
&gt; awk programs.
&gt;
&gt; The big questions are not only &quot;does she know the details?&quot; but, &quot;does
&gt; he work with the bigger picture in mind?&quot;  Introducing XML into a
&gt; workflow involves understanding how the people and necessary tasks
&gt; interact, and that's a different sort of skill than programming.
&gt;
&gt; Similarly, transcribing and marking up XML documents (medieval Greek
&gt; travel diaries, for example) may require understanding of the documents
&gt; and they way they use structure and language - their rhetorical nature,
&gt; if you will - and again that's not primarily a programming perspective,
&gt; although in designing the markup it's necessary to discuss needs with
&gt; whoever will be responsible for processing the marked up documents.
&gt;
&gt; There's no single answer.
&gt;
&gt; Liam
&gt;
&gt; --
&gt; Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
&gt; Pictures from old books: http://fromoldbooks.org/
&gt;
&gt;
&gt; _______________________________________________________________________
&gt;
&gt; XML-DEV is a publicly archived, unmoderated list hosted by OASIS
&gt; to support XML implementation and development. To minimize
&gt; spam in the archives, you must subscribe before posting.
&gt;
&gt; [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
&gt; Or unsubscribe: x&#x6d;&#108;&#45;&#100;&#x65;&#x76;&#x2d;&#117;ns&#117;bscr&#105;be&#64;&#x6c;&#x69;&#x73;ts&#46;xml.o&#114;&#103;
&gt; subscribe: &#x78;&#x6d;l&#45;d&#x65;v&#x2d;sub&#115;c&#x72;&#105;&#x62;&#x65;&#x40;&#108;&#x69;sts.&#x78;&#109;l.&#x6f;r&#x67;
&gt; List archive: http://lists.xml.org/archives/xml-dev/
&gt; List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
&gt;
&gt;


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30090.html</link><pubDate>Fri, 09 Mar 2012 06:28:28 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
It sounds like your recruitment process is picking people based on substrings of their resume, resulting in your &quot;guru&quot;.  None of these technologies are extremely hard and my preference is always to look for people based on personality (curiosity, openness, technical orientation) and then work out what taxonomic box to put them in later.   <br>
<br><div class="gmail_quote">On Fri, Mar 9, 2012 at 5:39 AM, Len Bullard <span dir="ltr">&lt;<a href="mailto:Len&#46;B&#117;lla&#114;&#x64;&#64;&#x73;e&#115;&#x2d;&#105;.c&#x6f;&#x6d;">Len&#46;B&#117;lla&#114;&#x64;&#64;&#x73;e&#115;&#x2d;&#105;.c&#x6f;&#x6d;</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I agree, John.  And a very productive one.<br>
<br>
They may not need to program in other languages but it is helpful.  If<br>
someone can&#39;t read a DTD to some level of proficiency, I have some<br>
qualms about their skill set given an environment where tagging in a<br>
DTD-enabled editor is not enough to solve problems.  Sometimes the task<br>
is proving where a problem originates; otherwise, one is solving the<br>
wrong problem.  The same is true of the XSL.<br>
<br>
An &quot;XML guru&quot; came to me one day and pointed out that half of a document<br>
was missing.   I asked if he had inspected the file.  He asked me why he<br>
should do that, it was missing.  What was missing was a right quotation<br>
mark.  The XML editor told him the file wasn&#39;t XML.  An &quot;XML guru&quot; that<br>
doesn&#39;t know what that means can&#39;t go to the next task because they<br>
simply don&#39;t know what that error means.  A competent XML skilled<br>
individual knows that in most cases, Draco has struck and they start<br>
looking for a syntax error.<br>
<br>
On the other hand, if one finds a fully-qualified pathname in an ENTITY<br>
attribute, one might look elsewhere.   If one is given a document full<br>
of empty ENTITY attributes, one might look elsewhere.<br>
<span class="HOEnZb"><font color="#888888"><br>
len<br>
</font></span><div class="im HOEnZb"><br>
-----Original Message-----<br>
From: John Cowan [mailto:<a href="mailto:c&#x6f;w&#97;n&#x40;c&#99;&#105;&#108;&#x2e;&#111;rg">c&#x6f;w&#97;n&#x40;c&#99;&#105;&#108;&#x2e;&#111;rg</a>] On Behalf Of John Cowan<br>
Sent: Thursday, March 08, 2012 10:58 AM<br>
To: Michael Kay<br>
Cc: <a href="mailto:&#120;ml-dev&#64;&#108;i&#115;&#x74;&#115;&#x2e;&#120;&#x6d;&#108;.o&#x72;g">&#120;ml-dev&#64;&#108;i&#115;&#x74;&#115;&#x2e;&#120;&#x6d;&#108;.o&#x72;g</a><br>
Subject: Re:  Should XML Professionals Be Programmers?<br>
<br>
</div><div class="im HOEnZb">Note to Len:  Writing and debugging XSLT *is* programming.  Anyone who<br>
can learn to program in XSLT can learn to program in any other language.<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________________________________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:&#x78;ml&#45;&#100;&#101;&#118;-u&#x6e;su&#98;&#x73;&#x63;&#114;&#105;b&#x65;&#x40;&#x6c;i&#x73;ts&#46;&#x78;&#x6d;&#x6c;.or&#103;">&#x78;ml&#45;&#100;&#101;&#118;-u&#x6e;su&#98;&#x73;&#x63;&#114;&#105;b&#x65;&#x40;&#x6c;i&#x73;ts&#46;&#x78;&#x6d;&#x6c;.or&#103;</a><br>
subscribe: <a href="mailto:&#x78;m&#x6c;-dev-sub&#x73;cr&#105;&#x62;&#101;&#64;&#108;&#x69;s&#116;s&#46;x&#x6d;&#108;&#x2e;or&#x67;">&#x78;m&#x6c;-dev-sub&#x73;cr&#105;&#x62;&#101;&#64;&#108;&#x69;s&#116;s&#46;x&#x6d;&#108;&#x2e;or&#x67;</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<br>
<br>
</div></div></blockquote></div><br>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50070.html</link><pubDate>Fri, 09 Mar 2012 06:21:38 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Len Bullard wrote:&gt; It's a general qualifications question:

IBM XML Certification
http://www-03.ibm.com/certify/certs/xm_index.shtml

Prometric XML Master Certifications
http://www.prometric.com/XML/default.htm

And of course, from the 2005 archive of xml.com:

&quot;Deconstructing Certification&quot; by Micah Dubinko
http://www.xml.com/pub/a/2005/03/16/deviant.html




Ken North
________________
www.kncomputing.com
@knorth2
kncomputing.tumblr.com

Â 
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20090.html</link><pubDate>Thu, 08 Mar 2012 23:07:25 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Thu, 2012-03-08 at 10:27 -0600, Len Bullard wrote:
&gt; It's a general qualifications question:  do you expect an XML
&gt; professional to:

&gt; 1.	Be able to correctly interpret DTD/Schema?
&gt; 2.	Write or modify a DTD/Schema
&gt; 3.	Code and/or test and modify XSLT.
&gt; 4.	Program at least to a level of proficiency to build simple
&gt; productivity tools (for example, basic querying of XML in some form)

Not necessarily.

Someone doing day-to-day text processing will be much more productive if
they can write scripts, use regular expressions, and do not wear overly
restrictive clothing.

If that day-to-day work involves _creating_ schemas, or working with
multiple types of document, familiarity with the validation languages in
use may be a distinct plus, for sure.

&quot;What Every Unix Programmer Should Know&quot; isn't all that far away from
&quot;What Every XML Developer Should Know&quot; in practice, with languages like
XLST, XSD and XQuery taking the place of shell scripts, sed scripts and
awk programs.

The big questions are not only &quot;does she know the details?&quot; but, &quot;does
he work with the bigger picture in mind?&quot;  Introducing XML into a
workflow involves understanding how the people and necessary tasks
interact, and that's a different sort of skill than programming.

Similarly, transcribing and marking up XML documents (medieval Greek
travel diaries, for example) may require understanding of the documents
and they way they use structure and language - their rhetorical nature,
if you will - and again that's not primarily a programming perspective,
although in designing the markup it's necessary to discuss needs with
whoever will be responsible for processing the marked up documents.

There's no single answer.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10090.html</link><pubDate>Thu, 08 Mar 2012 22:42:13 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On Thu, 2012-03-08 at 16:43 +0000, Michael Kay wrote:

&gt; There's no such thing as an XML professional, any more than you can be a 
&gt; screwdriver professional or a fork-lift truck professional.

Actually there _are_ professional fork-lift operators; they go on
courses and get qualifications to operate the machinery.


&gt;  People who 
&gt; define their abilities by the tools they can use proficiently are not 
&gt; professionals, they are technicians; professionals define their 
&gt; capabilities in terms of the problem space, not the solution space.

A profession is a job that requires training and a qualification.

If people are working with XML, let's allow them to sit at the High
Table regardless of whether they wear a college tie. Or shoes ;-)

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00090.html</link><pubDate>Thu, 08 Mar 2012 22:33:45 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
On 8 March 2012 17:27, Len Bullard &lt;L&#x65;n.B&#x75;l&#108;&#97;&#114;&#x64;&#64;ses&#45;i&#x2e;&#x63;om&gt; wrote:
&gt; Itâs a general qualifications question:Â  do you expect an XML professional to:
&gt;
&gt; Be able to correctly interpret DTD/Schema?
&gt; Write or modify a DTD/Schema
&gt; Code and/or test and modify XSLT.
&gt; Program at least to a level of proficiency to build simple productivity
&gt; tools (for example, basic querying of XML in some form)

If they're permitted free access to the Web for looking things up,
then sure. Standards work is all about knowing when and where to look
stuff up (and when to ask a friend instead).

cheers,

Dan
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70070.html</link><pubDate>Thu, 08 Mar 2012 20:54:57 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
In a profession, you do the work applying the knowledge you obtain doing the
work.  If you learned application from a book even better.  That means
others will understand what you are doing if they read.  If they practice,
you can do it together.  If neither, you are in different professions.  

len

-----Original Message-----
From: John Cowan [<A  HREF="mailto:co&#119;&#x61;&#110;&#x40;ccil.&#111;&#114;g">mailto:co&#119;&#x61;&#110;&#x40;ccil.&#111;&#114;g</A>] On Behalf Of John Cowan
Sent: Thursday, March 08, 2012 6:03 PM
To: Cox, Bruce
Cc: Michael Kay; &#x78;&#x6d;l&#x2d;&#100;&#101;&#118;&#x40;&#x6c;is&#x74;&#115;&#x2e;&#x78;&#109;&#x6c;.&#x6f;r&#103;
Subject: Re:  Should XML Professionals Be Programmers?

Cox, Bruce scripsit:

&gt; In graduate school (1980) we agreed that a professional is someone who
&gt; will do the right thing based on extensive knowledge of the domain,
&gt; whether or not the customer knows to ask for it.  Today, I'd say
&gt; it this way: A professional is someone trusted to do the right thing
&gt; based on extensive knowledge of the domain, whether or not the customer
&gt; knows enough to ask for it.

I think it's also the case that in a profession you apply knowledge you
got from a book (basically).  In a job, being ditch-digging or being
President of the United States, you apply whatever you already have to
doing what needs to be done.

-- 
John Cowan  &#x63;&#111;&#119;&#x61;n&#64;c&#x63;il.&#x6f;rg  http://ccil.org/~cowan
If he has seen farther than others,
        it is because he is standing on a stack of dwarves.
                --Mike Champion, describing Tim Berners-Lee (adapted)

_______________________________________________________________________

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: x&#109;&#108;&#x2d;&#100;ev-u&#x6e;&#115;ub&#x73;cr&#105;b&#x65;&#x40;lis&#x74;s.xm&#108;&#x2e;org
subscribe: &#120;ml&#45;de&#118;-s&#x75;bscribe&#x40;l&#105;s&#x74;s&#x2e;&#x78;m&#108;&#x2e;or&#x67;
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90080.html</link><pubDate>Thu, 08 Mar 2012 20:45:11 GMT</pubDate></item><item><title>anti-xml</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
I've just seen this:

http://anti-xml.org/

It isn't what you might first expect... does anyone have experience of using it?


cheers
andrew


-- 
Andrew Welch
http://andrewjwelch.com
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80070.html</link><pubDate>Thu, 08 Mar 2012 20:13:46 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Cox, Bruce scripsit:

&gt; In graduate school (1980) we agreed that a professional is someone who
&gt; will do the right thing based on extensive knowledge of the domain,
&gt; whether or not the customer knows to ask for it.  Today, Iâd say
&gt; it this way: A professional is someone trusted to do the right thing
&gt; based on extensive knowledge of the domain, whether or not the customer
&gt; knows enough to ask for it.

I think it's also the case that in a profession you apply knowledge you
got from a book (basically).  In a job, being ditch-digging or being
President of the United States, you apply whatever you already have to
doing what needs to be done.

-- 
John Cowan  co&#x77;a&#110;&#64;&#x63;&#x63;&#105;l.&#111;&#x72;&#103;  http://ccil.org/~cowan
If he has seen farther than others,
        it is because he is standing on a stack of dwarves.
                --Mike Champion, describing Tim Berners-Lee (adapted)
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70080.html</link><pubDate>Thu, 08 Mar 2012 19:03:26 GMT</pubDate></item><item><title>RE:  Ssx, Re:  Six Reasons Not to use XML Attributes</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: blue } ">





<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I use rtf control and dir/file finds.&nbsp;
DTDs are fine if I don&#8217;t have to write them.&nbsp; I don&#8217;t mind
designing them but all of the problems that couldn&#8217;t be resolved in
design were humans in the loop.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Evil is being told &#8220;I don&#8217;t
pay you to program.&nbsp; I pay you to do XML&#8221; by someone who isn&#8217;t
paying you well and doesn&#8217;t &#8220;do&#8221; XML either.&nbsp;&nbsp;
Stupid is not immediately looking for another job.&nbsp; Stuck is having to do
that wearing a surgical mask.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>len</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:windowtext'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Stephen Williams
[mailto:sdw&#x40;l&#105;&#103;.ne&#x74;] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, March 08, 2012
6:02 PM<br>
<b><span style='font-weight:bold'>To:</span></b> xm&#108;&#x2d;d&#x65;v&#64;li&#115;&#x74;&#x73;&#x2e;xm&#108;&#x2e;o&#x72;&#x67;<br>
<b><span style='font-weight:bold'>Subject:</span></b>  Ssx, Re:
 Six Reasons Not to use XML Attributes</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color="#000066"
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color="#000066"
face="Times New Roman"><span style='font-size:12.0pt'>One of my favorite
idioms, which I would like more people to adopt, is that attributes and
elements have equivalence, to the extent that makes sense.&nbsp; In other
words, if you only have one of a sub element/attribute, and it is just a
string, then you can express it as an attribute.&nbsp; Or put it as an element
if you like.&nbsp; I built parsing this into my very concise and mostly
complete SAX/DOM-like/mini-XPath Ssx parser: get(&quot;age/type&quot;) will
find '&lt;age type=&quot;years&quot;&gt;', although you can still do
get(&quot;age@type&quot;).<br>
<br>
And DTDs are evil.&nbsp; ;-)<br>
<br>
https://code.google.com/p/super-simple-xml/<br>
http://sdw.st/ssx.html#tag:Ssx<br>
<br>
Wrote this over a year ago.&nbsp; The library has been fairly well tested for
the core application use needed, however the test code included is woefully
incomplete.<br>
<br>
sdw<br>
<br>
On 3/2/12 6:26 AM, Len Bullard wrote: </span></font></p>

<pre style='margin-left:.5in' wrap=""><font size=2 color="#000066"
face="Courier New"><span style='font-size:10.0pt'>Let's just use LISP.&nbsp; Then we can reclaim our Dark Overlord Priesthood</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>Robes and demand unusually high salaries for being slightly</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>better-trained than data entry clerks because clerks can't cooder in</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>their cars.</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:.5in'><font size=2
color="#000066" face="Courier New"><span style='font-size:10.0pt'>Xerox tried this long ago, Roger.&nbsp; It failed pretty badly.</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>The problem with attributes is not syntax or lack of utility.&nbsp; It is</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>that they become a metadata junkyard where information is stuffed that</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>is rarely used and almost always ignored in templates.&nbsp; They are often</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>under-documented particularly where they are used by only a few</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>corner-case applications.&nbsp; Here is an example.&nbsp; Guess how many of these</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>are being used often, how many are generated, duplicate items found</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>elsewhere or are a result of using one DTD to govern non-local processes</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>(same entity being processed by multiple systems serially):</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>wpno&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp; #REQUIRED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>crewmember&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>tocentry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (2 | 3 | 4 | 5 )&nbsp; '2'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>date-time-stamp&nbsp; (date | time | date-time )&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>frame&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (yes | no )&nbsp; 'yes'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>army&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (yes | no )&nbsp; 'no'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>airforce&nbsp; (yes | no )&nbsp; 'no'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>navy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (yes | no )&nbsp; 'no'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>marines&nbsp;&nbsp; (yes | no )&nbsp; 'no'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>fgc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>lsa-id&nbsp;&nbsp; CDATA&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>wpseq&nbsp;&nbsp;&nbsp; CDATA&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>insertwp CDATA&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>deletewp&nbsp; (yes | no )&nbsp; 'no'</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>delchlvl&nbsp; CDATA&nbsp;&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>comment&nbsp;&nbsp; CDATA&nbsp;&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>changeref IDREFS&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>idref&nbsp;&nbsp;&nbsp; IDREFS&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>assocfig IDREFS&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>skilltrk&nbsp;&nbsp;&nbsp; CDATA&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>security&nbsp; (uc | fouo | c | s | ts )&nbsp; #IMPLIED</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>There is a well-understood impedance mismatch between XML and</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>Objects-What-We-Love and between SQL tables yet humans seem to be able</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>to handle them well and understand what they are.&nbsp; They are in this</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>sense, a design problem for people who don't understand the</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>subject-matter or process space with enough clarity to apply them well.</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>len</span></font></pre><pre style='margin-left:.5in'><font size=2
color="#000066" face="Courier New"><span style='font-size:10.0pt'>&nbsp;</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>_______________________________________________________________________</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>XML-DEV is a publicly archived, unmoderated list hosted by OASIS</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>to support XML implementation and development. To minimize</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>spam in the archives, you must subscribe before posting.</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>&nbsp;</span></font></pre><pre style='margin-left:
.5in'><font size=2 color="#000066" face="Courier New"><span style='font-size:
10.0pt'>[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>Or unsubscribe: <a
href="mailto:&#120;&#109;l&#45;&#100;ev-u&#110;s&#117;b&#115;&#99;r&#105;&#98;e&#x40;l&#x69;&#x73;ts&#46;&#x78;&#109;l&#x2e;o&#114;g">&#120;&#109;l&#45;&#100;ev-u&#110;s&#117;b&#115;&#99;r&#105;&#98;e&#x40;l&#x69;&#x73;ts&#46;&#x78;&#109;l&#x2e;o&#114;g</a></span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>subscribe: <a
href="mailto:xm&#x6c;-d&#101;&#x76;-subs&#x63;&#114;&#105;&#98;&#x65;&#64;l&#x69;&#x73;&#x74;&#115;&#46;x&#109;&#108;.&#x6f;&#114;&#x67;">xm&#x6c;-d&#101;&#x76;-subs&#x63;&#114;&#105;&#98;&#x65;&#64;l&#x69;&#x73;&#x74;&#115;&#46;x&#109;&#108;.&#x6f;&#114;&#x67;</a></span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>List archive: http://lists.xml.org/archives/xml-dev/</span></font></pre><pre
style='margin-left:.5in'><font size=2 color="#000066" face="Courier New"><span
style='font-size:10.0pt'>List Guidelines: http://www.oasis-open.org/maillists/guidelines.php</span></font></pre>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 color="#000066" face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color="#000066"
face="Times New Roman"><span style='font-size:12.0pt'>-- <br>
Stephen D. Williams <a href="mailto:sd&#x77;&#64;&#x6c;&#x69;g&#x2e;&#110;e&#x74;">sd&#x77;&#64;&#x6c;&#x69;g&#x2e;&#110;e&#x74;</a> <a
href="mailto:&#x73;&#116;ephend&#119;i&#x6c;&#x6c;&#x69;a&#109;&#115;&#x40;&#103;&#109;&#97;&#x69;l.&#x63;&#111;&#x6d;">&#x73;&#116;ephend&#119;i&#x6c;&#x6c;&#x69;a&#109;&#115;&#x40;&#103;&#109;&#97;&#x69;l.&#x63;&#111;&#x6d;</a>
LinkedIn: http://sdw.st/in V:650-450-UNIX (8649)
V:866.SDW.UNIX V:703.371.9362 F:703.995.0407 <a href="AIM:sdw">AIM:sdw</a> <a
href="Skype:StephenDWilliams">Skype:StephenDWilliams</a> <a
href="Yahoo:sdwlignet">Yahoo:sdwlignet</a> Resume: http://sdw.st/gres
Personal: http://sdw.st facebook.com/sdwlig
twitter.com/scienteer </span></font></p>

</div>

</div>




</td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post80080.html</link><pubDate>Thu, 08 Mar 2012 18:40:47 GMT</pubDate></item><item><title>RE:  What does &amp;quot;optional&amp;quot; mean?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
A patent application MUST disclose the invention in order to get a filing date; EVERYTHING else is optional at that stage.  However, before it can be examined, the application must have a long list of characteristics, including the inventor's name and mailing address.  Before an application can be allowed, certain other items become REQUIRED, and before publication, there must be evidence that the publication fee has been paid.  Some information in the published disclosure is not provided by the applicant, but by the Office.  The schema used at different stages for the same application will have a different mix of optional and required elements, or not even contain some elements at one stage that appear at a later stage, and even a few that disappear at the final stage.

Conversion of our legacy data usually requires a very relaxed schema, since over time, the trend has been to require more information, not less, from an applicant, and to publish more, not less, in the disclosure.  So, when converting from various ages in the past, the target schema will almost certainly contain every element needed for every age, but all but a handful will be declared optional.  Systems that process the legacy data might have to provide for the appropriate constraints based on the age of the document, while still working within a standard schema that is hardly more than a lattice work.

Bruce B Cox
OCIO/AED/Software Architecture and Engineering Division
571-272-9004


-----Original Message-----
From: Rudder, Doug Jr [<A  HREF="mailto:Doug&#46;&#x52;&#x75;&#x64;de&#114;&#x40;wol&#116;&#x65;r&#115;&#107;&#x6c;u&#119;&#101;r&#46;&#99;&#x6f;m">mailto:Doug&#46;&#x52;&#x75;&#x64;de&#114;&#x40;wol&#116;&#x65;r&#115;&#107;&#x6c;u&#119;&#101;r&#46;&#99;&#x6f;m</A>] 
Sent: 2012 February 27, Monday 13:47
To: Costello, Roger L.; xml-d&#101;&#x76;&#64;&#x6c;&#105;s&#116;&#115;.xml.&#111;&#114;&#103;
Subject: RE:  What does &quot;optional&quot; mean?

The answer can be very simple. For example, I work in drug information.
We have a standard section dealing with drug abuse/dependency, which is a vitally important section *when it applies*. However, many drugs are not problematic in this regard and the element is not necessary in those instances. Therefore, it is an optional element for a drug monograph.

Honestly, I've yet to see a DTD/Schema that did not contain optional elements, all of them important, but only within their intended context as described above.

To answer your revised question within the context of drug information, there are elements (e.g., Indications, Adverse Reactions) that are always mandatory in our monographs, but other elements (a variety of warnings and precautions) that, while common enough and important enough to warrant a &quot;named&quot; element, are not relevant to every single drug monograph and are therefore optional.

Another good example would be Black Box Warnings. This is potentially life-or-death information, but is optional because many drugs do not have them.

-----Original Message-----
From: Costello, Roger L. [<A  HREF="mailto:&#x63;ost&#101;&#108;&#x6c;&#111;&#64;m&#105;tre&#46;&#111;r&#x67;">mailto:&#x63;ost&#101;&#108;&#x6c;&#111;&#64;m&#105;tre&#46;&#111;r&#x67;</A>]
Sent: Sunday, February 26, 2012 10:16 AM
To: xml&#45;&#x64;ev&#64;li&#115;&#x74;s&#46;&#x78;&#109;l.o&#x72;&#x67;
Subject: RE:  What does &quot;optional&quot; mean?

&gt; I would agree with David Carlisle.
&gt; In schema,  &quot;optional&quot; doesn't mean ANY of the items you suggest.

Yes, I stand corrected. Despite my best efforts, how quickly and easily I fall into the trap of ascribing meaning to constructs in schemas.

Let me rephrase my question: 

       Why make one element mandatory 
      and another optional?

That is, what is it about some information that it is declared mandatory whereas another information is declared optional?

/Roger


_______________________________________________________________________

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&#x2d;de&#x76;&#x2d;&#117;n&#115;&#117;bs&#99;rib&#x65;&#x40;&#x6c;i&#x73;&#x74;s.&#120;m&#x6c;.&#x6f;&#x72;&#103;
subscribe: &#120;&#x6d;&#108;-&#100;e&#118;&#45;s&#x75;&#x62;s&#x63;rib&#x65;&#64;&#108;i&#x73;&#x74;s.x&#x6d;&#108;.&#111;rg List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40080.html</link><pubDate>Thu, 08 Mar 2012 18:27:29 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>In graduate school (1980) we agreed that a professional is someone who will do the right thing based on extensive knowledge of the domain, whether or not the customer knows to ask for it.Â  Today, Iâd say it this way: A professional is someone trusted to do the right thing based on extensive knowledge of the domain, whether or not the customer knows enough to ask for it.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>You donât need the customersâ permission, but you do need their trust.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>Bruce B Cox<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>OCIO/AED/Software Architecture and Engineering Division<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>571-272-9004<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Kay [mailto:m&#105;ke&#64;saxo&#110;&#105;c&#x61;&#46;c&#111;&#x6d;] <br><b>Sent:</b> 2012 March 8, Thursday 11:44<br><b>To:</b> xml-dev@l...<br><b>Subject:</b> Re:  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'><br><br>On 08/03/2012 16:27, Len Bullard wrote: <o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Itâs a general qualifications question:&nbsp; do you expect an XML professional to:</span><o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'>There's no such thing as an XML professional, any more than you can be a screwdriver professional or a fork-lift truck professional. People who define their abilities by the tools they can use proficiently are not professionals, they are technicians; professionals define their capabilities in terms of the problem space, not the solution space.<br><br>Michael Kay<br>Saxonica<o:p></o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30080.html</link><pubDate>Thu, 08 Mar 2012 17:26:16 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Is there a Chester County Militia?

Bruce B Cox
OCIO/AED/Software Architecture and Engineering Division
571-272-9004


-----Original Message-----
From: John Cowan [<A  HREF="mailto:c&#111;&#119;&#x61;n&#x40;c&#x63;i&#108;.or&#x67;">mailto:c&#111;&#119;&#x61;n&#x40;c&#x63;i&#108;.or&#x67;</A>] On Behalf Of John Cowan
Sent: 2012 March 8, Thursday 16:56
To: Cox, Bruce
Cc: Len Bullard; Michael Hopwood; &#120;&#x6d;l-&#100;&#101;&#118;&#64;&#x6c;is&#116;s.xml&#x2e;o&#x72;g
Subject: Re:  Should XML Professionals Be Programmers?

Cox, Bruce scripsit:

&gt; If I were looking for my replacement, Iâd be looking for a 
&gt; philosopher, and if one with the necessary interest canât be found, 
&gt; then perhaps an English major.

Does it matter which regiment he commands?

-- 
If you understand,                      John Cowan
   things are just as they are;         http://www.ccil.org/~cowan
if you do not understand,               &#x63;&#x6f;&#119;an&#64;&#99;&#99;&#x69;l.&#x6f;rg
   things are just as they are.

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20080.html</link><pubDate>Thu, 08 Mar 2012 17:20:21 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Yes, fair points. How far does the term &#8220;data architect&#8221; sum up some of these? I guess it relates to being able to design schemas / transforms that take into account all of these. And the focus is on the data, and its structure here. In the library world, we pretty much call that cataloguing, or systems librarianship. But then our schemas move pretty slowly&#8230;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Len Bullard [mailto:Le&#x6e;.&#x42;&#x75;&#x6c;&#x6c;&#97;&#114;d&#x40;&#x73;es-i.&#99;&#111;&#x6d;] <br><b>Sent:</b> 08 March 2012 17:02<br><b>To:</b> Michael Hopwood; xml-dev@l...<br><b>Subject:</b> RE:  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Those are popular phrases but largely meaningless unless further defined by the processes and kinds and types of data to be integrated.&nbsp; For example, how much analysis is required of the integrated sources, how are they QA&#8217;d and does that occur before or after the XML is created given that XML is the final format for delivering an integrated product?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>len<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o:p>&nbsp;</o:p></span></p><div><div class=MsoNormal align=center style='text-align:center'><span lang=EN-US style='color:windowtext'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Hopwood <a href="mailto:[mailto:michael@e...]">[mailto:michael@e...]</a> <br><b>Sent:</b> Thursday, March 08, 2012 10:52 AM<br><b>To:</b> <a href="mailto:xml-dev@l...">xml-dev@l...</a><br><b>Subject:</b> RE:  Should XML Professionals Be Programmers?</span><span lang=EN-US style='color:windowtext'><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So the problem space is&#8230;? How does &#8220;information integration&#8221; or &#8220;data integration&#8221; sound? That is one of the phrases I hear bandied around at lot at present.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Kay <a href="mailto:[mailto:mike@s...]">[mailto:mike@s...]</a> <br><b>Sent:</b> 08 March 2012 16:44<br><b>To:</b> <a href="mailto:xml-dev@l...">xml-dev@l...</a><br><b>Subject:</b> Re:  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><br><br>On 08/03/2012 16:27, Len Bullard wrote: <o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>It&#8217;s a general qualifications question:&nbsp; do you expect an XML professional to:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>There's no such thing as an XML professional, any more than you can be a screwdriver professional or a fork-lift truck professional. People who define their abilities by the tools they can use proficiently are not professionals, they are technicians; professionals define their capabilities in terms of the problem space, not the solution space.<br><br>Michael Kay<br>Saxonica<o:p></o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post20070.html</link><pubDate>Thu, 08 Mar 2012 17:04:11 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Cox, Bruce scripsit:

&gt; If I were looking for my replacement, Iâd be looking for a
&gt; philosopher, and if one with the necessary interest canât be found,
&gt; then perhaps an English major.  

Does it matter which regiment he commands?

-- 
If you understand,                      John Cowan
   things are just as they are;         http://www.ccil.org/~cowan
if you do not understand,               &#99;o&#x77;&#x61;&#110;&#64;c&#99;i&#108;.o&#114;&#103;
   things are just as they are.
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10080.html</link><pubDate>Thu, 08 Mar 2012 16:56:04 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So the problem space is&#8230;? How does &#8220;information integration&#8221; or &#8220;data integration&#8221; sound? That is one of the phrases I hear bandied around at lot at present.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Kay [mailto:&#x6d;&#x69;&#x6b;&#101;&#64;&#115;ax&#x6f;nica&#46;c&#x6f;&#109;] <br><b>Sent:</b> 08 March 2012 16:44<br><b>To:</b> xml-dev@l...<br><b>Subject:</b> Re:  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><br><br>On 08/03/2012 16:27, Len Bullard wrote: <o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>It&#8217;s a general qualifications question:&nbsp; do you expect an XML professional to:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>There's no such thing as an XML professional, any more than you can be a screwdriver professional or a fork-lift truck professional. People who define their abilities by the tools they can use proficiently are not professionals, they are technicians; professionals define their capabilities in terms of the problem space, not the solution space.<br><br>Michael Kay<br>Saxonica<o:p></o:p></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post70060.html</link><pubDate>Thu, 08 Mar 2012 16:52:17 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    <br>
    <br>
    On 08/03/2012 16:27, Len Bullard wrote:
    <blockquote
cite="mid:<a href="post40060.html">&#53;&#x33;7&#x32;5&#x34;&#68;815AA&#x41;&#x36;&#x34;492&#70;9&#70;A9A&#x33;8ECB&#x34;0&#68;5DCB40&#64;&#x6d;&#x61;il&#52;&#x2e;h&#117;n&#x74;&#115;v&#105;&#108;le&#x2e;&#115;e&#115;&#x2d;i.c&#111;m</a>"
      type="cite">
      
      
      <o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PostalCode">
        <o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="State">
          <o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="City">
            <o:smarttagtype
              namespaceuri="urn:schemas-microsoft-com:office:smarttags"
              name="place">
              <o:smarttagtype
                namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                name="Street">
                <o:smarttagtype
                  namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                  name="address">
                  <!---->
                  
                  <div class="Section1">
                    <p class="MsoNormal"><font face="Arial" size="2"><span
                          style="font-size:10.0pt;
                          font-family:Arial">It&#8217;s a general
                          qualifications question:&nbsp; do you
                          expect an XML professional to:<o:p></o:p></span></font></p>
                    <p class="MsoNormal"><font face="Arial" size="2"><span
                          style="font-size:10.0pt;
                          font-family:Arial"><o:p>&nbsp;</o:p></span></font></p>
                    <font size="2"><font face="Arial"></font></font><br>
                  </div>
                </o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    There's no such thing as an XML professional, any more than you can
    be a screwdriver professional or a fork-lift truck professional.
    People who define their abilities by the tools they can use
    proficiently are not professionals, they are technicians;
    professionals define their capabilities in terms of the problem
    space, not the solution space.<br>
    <br>
    Michael Kay<br>
    Saxonica<br>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60060.html</link><pubDate>Thu, 08 Mar 2012 16:43:52 GMT</pubDate></item><item><title>RE: Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi there,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I&#8217;m a qualified information professional (~=librarian), working on an XML-heavy project in the publishing world.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I&#8217;ve been following XML-Dev and hoping to learn more about this question too: how do you define an &#8220;XML professional&#8221;?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is anyone on the list qualified specifically in XML itself?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It seems to me like &#8220;something I should have learned at Library School&#8221;, but it&#8217;s one of those things that librarians tend to leave to the IT people.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Michael<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Len Bullard [mailto:&#76;&#x65;n&#x2e;&#x42;&#117;&#108;&#x6c;&#97;rd&#x40;&#115;&#101;&#115;-i&#46;&#99;om] <br><b>Sent:</b> 08 March 2012 16:27<br><b>To:</b> xml-dev@l...<br><b>Subject:</b>  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>It&#8217;s a general qualifications question:&nbsp; do you expect an XML professional to:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p><ol style='margin-top:0cm' start=1 type=1><li class=MsoNormal style='mso-list:l0 level1 lfo3'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Be able to correctly interpret DTD/Schema?<o:p></o:p></span></li><li class=MsoNormal style='mso-list:l0 level1 lfo3'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Write or modify a DTD/Schema<o:p></o:p></span></li><li class=MsoNormal style='mso-list:l0 level1 lfo3'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Code and/or test and modify XSLT.<o:p></o:p></span></li><li class=MsoNormal style='mso-list:l0 level1 lfo3'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Program at least to a level of proficiency to build simple productivity tools (for example, basic querying of XML in some form)<o:p></o:p></span></li></ol><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Len Bullard</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>ILS Manager</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Science and Engineering Services, Inc</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>248 Dunlop Blvd.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>Huntsville, AL 35824<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><a href="mailto:len.bullard@s...">len.bullard@s...</a></span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50060.html</link><pubDate>Thu, 08 Mar 2012 16:37:32 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } "><div class=WordSection1><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>After a career as a librarian (Linda Hall Library, one of the Patent &amp; Trademark Depository Libraries) and now with 21 months to retirement from the USPTO, Iâve often had to invent a title for what I do.Â  To avoid alarming either the business folks or the developers, I recently have usually called myself âSenior Advisor for Information Standards.âÂ  We treat a schema or DTD as a âstandardâ in the sense that when information is exchanged internationally between IPOâs or internally between systems, we expect (sometimes ârequireâ) that it will be encoded using a specific schema or set of components designed for that purpose.Â  <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>Iâve chaired the âInformation Standards Technical Working Groupâ for many years, where the problems of âintegrationâ are resolved and the schemas revised as needed.Â  What has been especially useful about this WG is that it includes representation from the entire pipeline for the information, from receipt at the door, pre-examination processing, examination, post-examination, publishing, and dissemination to the public.Â  Having everyone in on the development of the schema, and on the issues that various stages of processing have to address, has proven invaluable.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>Iâm often referred to as the âXML expert,â but thatâs a default position, meaning that for most of my career, my knowledge has been a step or two ahead of the others in the working group.Â  Thatâs no longer the case, these days.Â  In fact, I rely more and more on others for the details of the XML technologies as my attention moves higher and higher in the stack of abstractions that constitute a kind of OSI of information.Â  I can read a style sheet, but please donât ask me to write one.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>Iâve been reasonably successful in using âinformationâ to mean the content, the stuff that the business pays attention to, and leaving the term âdataâ for the raw stuff in databases or otherwise unrecognizable to the business folks.Â  <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>If I were looking for my replacement, Iâd be looking for a philosopher, and if one with the necessary interest canât be found, then perhaps an English major.Â  If you can organize your own thoughts, then you have the most important tool needed for creating a schema: a sense of orderliness sufficient for the task at hand.Â  Of course, the business itself has to hold your attention to some degree.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>While anyone can learn the syntax, it takes a special kind of creative impulse to make the code sing, one of the reasons I donât write code.Â  Iâm fortunate to have a few contractors at hand that can do that.Â  Still, they need a score, and thatâs what I provide.Â  Someone has to understand the purpose and value of the content AND the method of encoding the information to ensure that the two together produce the desired result.Â  You have to have sufficient XML and sufficient love of the business.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>Bruce B Cox<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>OCIO/AED/Software Architecture and Engineering Division<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'>571-272-9004<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Len Bullard [mailto:&#x4c;&#x65;&#x6e;.&#x42;ul&#x6c;&#97;rd&#x40;se&#115;-i.&#99;o&#x6d;] <br><b>Sent:</b> 2012 March 8, Thursday 12:02<br><b>To:</b> Michael Hopwood; xml-dev@l...<br><b>Subject:</b> RE:  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Those are popular phrases but largely meaningless unless further defined by the processes and kinds and types of data to be integrated.&nbsp; For example, how much analysis is required of the integrated sources, how are they QAâd and does that occur before or after the XML is created given that XML is the final format for delivering an integrated product?<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>len<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o:p>&nbsp;</o:p></span></p><div><div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span style='color:windowtext'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Hopwood <a href="mailto:[mailto:michael@e...]">[mailto:michael@e...]</a> <br><b>Sent:</b> Thursday, March 08, 2012 10:52 AM<br><b>To:</b> <a href="mailto:xml-dev@l...">xml-dev@l...</a><br><b>Subject:</b> RE:  Should XML Professionals Be Programmers?</span><span style='color:windowtext'><o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So the problem space isâ¦? How does âinformation integrationâ or âdata integrationâ sound? That is one of the phrases I hear bandied around at lot at present.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Michael Kay <a href="mailto:[mailto:mike@s...]">[mailto:mike@s...]</a> <br><b>Sent:</b> 08 March 2012 16:44<br><b>To:</b> <a href="mailto:xml-dev@l...">xml-dev@l...</a><br><b>Subject:</b> Re:  Should XML Professionals Be Programmers?<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB><br><br>On 08/03/2012 16:27, Len Bullard wrote: <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Itâs a general qualifications question:&nbsp; do you expect an XML professional to:</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-GB>There's no such thing as an XML professional, any more than you can be a screwdriver professional or a fork-lift truck professional. People who define their abilities by the tools they can use proficiently are not professionals, they are technicians; professionals define their capabilities in terms of the problem space, not the solution space.<br><br>Michael Kay<br>Saxonica<o:p></o:p></span></p></div></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post00080.html</link><pubDate>Thu, 08 Mar 2012 16:31:53 GMT</pubDate></item><item><title>Ssx, Re:  Six Reasons Not to use XML Attributes</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000066; "><font color="#000066">
  
  
    One of my favorite idioms, which I would like more people to adopt,
    is that attributes and elements have equivalence, to the extent that
    makes sense.&nbsp; In other words, if you only have one of a sub
    element/attribute, and it is just a string, then you can express it
    as an attribute.&nbsp; Or put it as an element if you like.&nbsp; I built
    parsing this into my very concise and mostly complete
    SAX/DOM-like/mini-XPath Ssx parser: get("age/type") will find
    '&lt;age type="years"&gt;', although you can still do
    get("age@type").<br>
    <br>
    And DTDs are evil.&nbsp; ;-)<br>
    <br>
    https://code.google.com/p/super-simple-xml/<br>
    http://sdw.st/ssx.html#tag:Ssx<br>
    <br>
    Wrote this over a year ago.&nbsp; The library has been fairly well tested
    for the core application use needed, however the test code included
    is woefully incomplete.<br>
    <br>
    sdw<br>
    <br>
    On 3/2/12 6:26 AM, Len Bullard wrote:
    <blockquote
cite="mid:<a href="post10010.html">&#x35;&#x33;7&#x32;&#53;&#x34;&#68;&#56;&#x31;&#53;&#65;&#x41;&#65;64&#x34;9&#x32;&#70;&#57;FA&#57;A&#51;8ECB&#x34;&#x30;&#68;5&#54;4&#56;7&#49;&#x40;&#x6d;a&#x69;&#x6c;4&#x2e;h&#x75;nt&#115;&#118;i&#108;le.ses-&#105;.&#x63;o&#x6d;</a>"
      type="cite">
      <pre wrap="">Let's just use LISP.  Then we can reclaim our Dark Overlord Priesthood
Robes and demand unusually high salaries for being slightly
better-trained than data entry clerks because clerks can't cooder in
their cars.

Xerox tried this long ago, Roger.  It failed pretty badly.

The problem with attributes is not syntax or lack of utility.  It is
that they become a metadata junkyard where information is stuffed that
is rarely used and almost always ignored in templates.  They are often
under-documented particularly where they are used by only a few
corner-case applications.  Here is an example.  Guess how many of these
are being used often, how many are generated, duplicate items found
elsewhere or are a result of using one DTD to govern non-local processes
(same entity being processed by multiple systems serially):

wpno            ID     #REQUIRED
crewmember      CDATA  #IMPLIED
tocentry         (2 | 3 | 4 | 5 )  '2'
date-time-stamp  (date | time | date-time )  #IMPLIED
frame            (yes | no )  'yes'
army      (yes | no )  'no'
airforce  (yes | no )  'no'
navy      (yes | no )  'no'
marines   (yes | no )  'no'
fgc      CDATA  #IMPLIED
lsa-id   CDATA  #IMPLIED
wpseq    CDATA  #IMPLIED
insertwp CDATA  #IMPLIED
deletewp  (yes | no )  'no'
delchlvl  CDATA   #IMPLIED
comment   CDATA   #IMPLIED
changeref IDREFS  #IMPLIED
idref    IDREFS  #IMPLIED
assocfig IDREFS  #IMPLIED
skilltrk    CDATA  #IMPLIED
security  (uc | fouo | c | s | ts )  #IMPLIED

There is a well-understood impedance mismatch between XML and
Objects-What-We-Love and between SQL tables yet humans seem to be able
to handle them well and understand what they are.  They are in this
sense, a design problem for people who don't understand the
subject-matter or process space with enough clarity to apply them well.

len


_______________________________________________________________________

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: <a class="moz-txt-link-freetext" href="javascript:void(0);">http://www.oasis-open.org/mlmanage/</a>
Or unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:&#x78;ml-&#100;e&#118;-u&#x6e;s&#x75;&#x62;s&#99;rib&#101;&#x40;l&#x69;&#x73;t&#115;&#46;xm&#x6c;&#x2e;o&#x72;&#103;">&#x78;ml-&#100;e&#118;-u&#x6e;s&#x75;&#x62;s&#99;rib&#101;&#x40;l&#x69;&#x73;t&#115;&#46;xm&#x6c;&#x2e;o&#x72;&#103;</a>
subscribe: <a class="moz-txt-link-abbreviated" href="mailto:&#120;ml-d&#101;&#x76;&#45;&#x73;&#x75;&#x62;sc&#114;i&#x62;&#101;&#64;&#x6c;i&#115;t&#x73;.&#x78;&#109;l.or&#103;">&#120;ml-d&#101;&#x76;&#45;&#x73;&#x75;&#x62;sc&#114;i&#x62;&#101;&#64;&#x6c;i&#115;t&#x73;.&#x78;&#109;l.or&#103;</a>
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Stephen D. Williams <a class="moz-txt-link-abbreviated" href="mailto:&#115;&#100;&#x77;&#64;l&#105;&#103;.n&#x65;&#116;">&#115;&#100;&#x77;&#64;l&#105;&#103;.n&#x65;&#116;</a> <a class="moz-txt-link-abbreviated" href="mailto:stephendwilliams@g...">stephendwilliams@g...</a>
      LinkedIn: http://sdw.st/in
      V:650-450-UNIX (8649) V:866.SDW.UNIX V:703.371.9362 F:703.995.0407
      <a class="moz-txt-link-freetext" href="AIM:sdw">AIM:sdw</a> <a class="moz-txt-link-freetext" href="Skype:StephenDWilliams">Skype:StephenDWilliams</a> <a class="moz-txt-link-freetext" href="Yahoo:sdwlignet">Yahoo:sdwlignet</a> Resume:
      http://sdw.st/gres
      Personal: http://sdw.st facebook.com/sdwlig twitter.com/scienteer
    </div>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60080.html</link><pubDate>Thu, 08 Mar 2012 16:02:25 GMT</pubDate></item><item><title>Re:  EXI: was : RE:  what's missing in XML? What'scomi</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000066; "><font color="#000066">
  
  
    On 3/8/12 6:57 AM, Richard Salz wrote:
    <blockquote
cite="mid:<a href="post30060.html">OF&#49;&#x36;44838&#69;&#x2e;&#67;79&#x45;9&#67;4&#55;&#45;&#79;&#78;8&#x35;&#50;&#53;&#55;&#x39;B&#66;.&#x30;05&#49;F&#x31;C&#51;&#45;85&#50;57&#57;&#66;B&#x2e;005231&#x46;&#x43;&#64;&#x75;&#115;.ib&#109;.&#99;&#111;&#x6d;</a>"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">I was there too.  IBM's position was not well stated.
</pre>
      </blockquote>
      <pre wrap="">
Sorry about that.  We tried very hard to be clear and concise (many 
internal drafts, etc).

</pre>
      <blockquote type="cite">
        <pre wrap="">My guess, purely speculation, was that IBM killed their participation 
</pre>
      </blockquote>
      <pre wrap="">based on possible product
</pre>
      <blockquote type="cite">
        <pre wrap="">impact with their commercial development stacks or something similar.
</pre>
      </blockquote>
      <pre wrap="">
For what it (i.e., my word) is worth, no.  There was no hidden agenda, the 
reasons were what we stated in public.</pre>
    </blockquote>
    <br>
    OK.&nbsp; Where's the code?<br>
    <br>
    sdw<br>
    <blockquote
cite="mid:<a href="post30060.html">O&#x46;&#x31;&#x36;&#52;483&#x38;&#69;.C&#x37;9&#69;&#x39;&#x43;&#x34;&#x37;&#x2d;&#79;&#x4e;&#x38;&#53;2&#53;79&#66;&#66;.0&#x30;&#x35;&#49;F&#x31;&#67;&#x33;-85&#x32;57&#57;&#66;&#66;&#46;005&#50;3&#49;F&#x43;&#64;u&#115;&#46;ib&#109;.&#x63;&#111;&#109;</a>"
      type="cite">
      <pre wrap="">

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/
</pre>
    </blockquote>
    <br>
  

</font></td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post50080.html</link><pubDate>Thu, 08 Mar 2012 15:35:42 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Yes.   Programming productivity was a lot less before I could find examples.  On the other hand, finding a quality example can be problematic.  A case in point:  how many ways are there to write a search and replace in VB?  ;)  A little more seriously, how many times has one copied code only to discover the framework classes it requires a) didn't work well or b) are no longer supported in VSpickaversion.  Sometimes Google gives an answer but as the old professor told them in a lawyer show from years ago, &quot;the first answer is seldom the complete answer&quot;.

A little off topic... I was wondering if what I am hearing is normal because some of this stuff defies everything I thought I knew about XML production work.  In general, I would expect four of those skills from someone hired to do XML work.  I know it 'depends' but I would expect it and if told &quot;we don't pay our XML people to program&quot;, I'd worry because of the productivity possible from someone who can.

len

-----Original Message-----
From: Dan Brickley [<A  HREF="mailto:d&#97;&#110;&#98;&#114;&#x69;&#64;d&#x61;nbri.&#111;&#x72;&#103;">mailto:d&#97;&#110;&#98;&#114;&#x69;&#64;d&#x61;nbri.&#111;&#x72;&#103;</A>] 
Sent: Thursday, March 08, 2012 1:55 PM
To: Len Bullard
Cc: x&#109;l&#x2d;d&#x65;&#x76;&#64;&#108;&#105;st&#x73;&#46;&#120;&#x6d;&#108;&#x2e;&#111;&#114;g
Subject: Re:  Should XML Professionals Be Programmers?

On 8 March 2012 17:27, Len Bullard &lt;&#76;&#x65;n&#x2e;B&#117;lla&#x72;d&#x40;&#x73;e&#x73;&#x2d;i&#46;&#x63;om&gt; wrote:
&gt; It's a general qualifications question:  do you expect an XML professional to:
&gt;
&gt; Be able to correctly interpret DTD/Schema?
&gt; Write or modify a DTD/Schema
&gt; Code and/or test and modify XSLT.
&gt; Program at least to a level of proficiency to build simple productivity
&gt; tools (for example, basic querying of XML in some form)

If they're permitted free access to the Web for looking things up,
then sure. Standards work is all about knowing when and where to look
stuff up (and when to ask a friend instead).

cheers,

Dan
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90070.html</link><pubDate>Thu, 08 Mar 2012 14:47:57 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: blue } ">





<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>That may be the case, Greg.&nbsp;&nbsp;
The challenge is expectations.&nbsp; I agree none of this is hard.&nbsp; &nbsp;Have
you ever been chewed out for solving a problem in XML production through
programming?&nbsp; Sounds unreal, yes? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>As to the skills required, a common
complaint is &#8220;that&#8217;s too tedious&#8221;.&nbsp; Another was &#8220;that&#8217;s
too old fashioned&#8221; making reference to inspecting the file.&nbsp;&nbsp;
We have raised a generation that cannot fathom a box that can be opened and
inspected (I think of them as Mac People but that&#8217;s my prejudice) and all
too often, they are being managed by a generation that considered programming
tasks beyond them.&nbsp;&nbsp; XML sits in a not too hot not too cold zone
where it is believed costs can be cut by hiring less than competent and then enforcing
the notion that all you need to do is tag across levels of upper management
which sanction actions.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Companies like that eventually kill a
customer in our business.&nbsp; You get what you pay for.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>len<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Greg Hunt
[mailto:&#103;&#x72;eg&#x40;f&#105;&#114;m&#97;&#110;&#x73;y&#97;h&#46;c&#x6f;&#x6d;] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, March 08, 2012
1:22 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Len Bullard<br>
<b><span style='font-weight:bold'>Cc:</span></b> &#x78;ml&#x2d;&#100;&#101;&#x76;&#64;l&#105;s&#116;s&#46;x&#109;&#108;&#46;org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re:  Should XML
Professionals Be Programmers?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>It sounds like your
recruitment process is picking people based on substrings of their resume,
resulting in your &quot;guru&quot;. &nbsp;None of these technologies are
extremely hard and my preference is always to look for people based on
personality (curiosity, openness, technical orientation) and then work out what
taxonomic box to put them in later. &nbsp;&nbsp;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Fri, Mar 9, 2012 at 5:39 AM, Len Bullard &lt;<a
href="mailto:&#76;&#x65;n&#46;&#x42;ul&#108;a&#114;d&#64;se&#x73;&#x2d;&#x69;&#46;com">&#76;&#x65;n&#46;&#x42;ul&#108;a&#114;d&#64;se&#x73;&#x2d;&#x69;&#46;com</a>&gt; wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I agree, John. &nbsp;And a very productive one.<br>
<br>
They may not need to program in other languages but it is helpful. &nbsp;If<br>
someone can't read a DTD to some level of proficiency, I have some<br>
qualms about their skill set given an environment where tagging in a<br>
DTD-enabled editor is not enough to solve problems. &nbsp;Sometimes the task<br>
is proving where a problem originates; otherwise, one is solving the<br>
wrong problem. &nbsp;The same is true of the XSL.<br>
<br>
An &quot;XML guru&quot; came to me one day and pointed out that half of a
document<br>
was missing. &nbsp; I asked if he had inspected the file. &nbsp;He asked me why
he<br>
should do that, it was missing. &nbsp;What was missing was a right quotation<br>
mark. &nbsp;The XML editor told him the file wasn't XML. &nbsp;An &quot;XML
guru&quot; that<br>
doesn't know what that means can't go to the next task because they<br>
simply don't know what that error means. &nbsp;A competent XML skilled<br>
individual knows that in most cases, Draco has struck and they start<br>
looking for a syntax error.<br>
<br>
On the other hand, if one finds a fully-qualified pathname in an ENTITY<br>
attribute, one might look elsewhere. &nbsp; If one is given a document full<br>
of empty ENTITY attributes, one might look elsewhere.<br>
<font color="#888888"><span style='color:#888888'><br>
<span class=hoenzb>len</span></span></font><o:p></o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
-----Original Message-----<br>
From: John Cowan [mailto:<a href="mailto:&#x63;o&#119;an&#64;cc&#x69;&#108;&#x2e;o&#x72;&#103;">&#x63;o&#119;an&#64;cc&#x69;&#108;&#x2e;o&#x72;&#103;</a>] On
Behalf Of John Cowan<br>
Sent: Thursday, March 08, 2012 10:58 AM<br>
To: Michael Kay<br>
Cc: <a href="mailto:&#120;m&#108;&#45;d&#x65;&#118;&#64;lis&#x74;s.xml&#46;org">&#120;m&#108;&#45;d&#x65;&#118;&#64;lis&#x74;s.xml&#46;org</a><br>
Subject: Re:  Should XML Professionals Be Programmers?<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Note to Len:
&nbsp;Writing and debugging XSLT *is* programming. &nbsp;Anyone who<br>
can learn to program in XSLT can learn to program in any other language.<br>
<br>
<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>_______________________________________________________________________<br>
<br>
XML-DEV is a publicly archived, unmoderated list hosted by OASIS<br>
to support XML implementation and development. To minimize<br>
spam in the archives, you must subscribe before posting.<br>
<br>
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/<br>
Or unsubscribe: <a href="mailto:xm&#108;-de&#118;&#x2d;&#x75;&#110;&#x73;u&#98;&#x73;&#99;rib&#101;&#64;l&#x69;sts&#x2e;&#120;m&#108;.&#x6f;&#114;g">xm&#108;-de&#118;&#x2d;&#x75;&#110;&#x73;u&#98;&#x73;&#99;rib&#101;&#64;l&#x69;sts&#x2e;&#120;m&#108;.&#x6f;&#114;g</a><br>
subscribe: <a href="mailto:xml-&#x64;e&#x76;&#45;&#115;&#x75;&#x62;scr&#x69;&#98;e&#64;&#x6c;&#x69;&#x73;t&#115;.&#120;&#x6d;l.&#x6f;rg">xml-&#x64;e&#x76;&#45;&#115;&#x75;&#x62;scr&#x69;&#98;e&#64;&#x6c;&#x69;&#x73;t&#115;.&#120;&#x6d;l.&#x6f;rg</a><br>
List archive: http://lists.xml.org/archives/xml-dev/<br>
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php<o:p></o:p></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>




</td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post60070.html</link><pubDate>Thu, 08 Mar 2012 13:32:04 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Michael Hopwood scripsit:

&gt; Yes, fair points. How far does the term &quot;data architect&quot; sum up some of
&gt; these? I guess it relates to being able to design schemas / transforms
&gt; that take into account all of these. And the focus is on the data,
&gt; and its structure here. In the library world, we pretty much call
&gt; that cataloguing, or systems librarianship. But then our schemas move
&gt; pretty slowly...

I'm going to put &quot;Ontologist&quot; on my tax returns this year and see what
the IRS makes of it.

-- 
Mark Twain on Cecil Rhodes:                    John Cowan
I admire him, I freely admit it,               http://www.ccil.org/~cowan
and when his time comes I shall                cowan&#64;c&#x63;&#x69;l.&#111;rg
buy a piece of the rope for a keepsake.
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post30070.html</link><pubDate>Thu, 08 Mar 2012 12:41:48 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
I agree, John.  And a very productive one.

They may not need to program in other languages but it is helpful.  If
someone can't read a DTD to some level of proficiency, I have some
qualms about their skill set given an environment where tagging in a
DTD-enabled editor is not enough to solve problems.  Sometimes the task
is proving where a problem originates; otherwise, one is solving the
wrong problem.  The same is true of the XSL.

An &quot;XML guru&quot; came to me one day and pointed out that half of a document
was missing.   I asked if he had inspected the file.  He asked me why he
should do that, it was missing.  What was missing was a right quotation
mark.  The XML editor told him the file wasn't XML.  An &quot;XML guru&quot; that
doesn't know what that means can't go to the next task because they
simply don't know what that error means.  A competent XML skilled
individual knows that in most cases, Draco has struck and they start
looking for a syntax error.

On the other hand, if one finds a fully-qualified pathname in an ENTITY
attribute, one might look elsewhere.   If one is given a document full
of empty ENTITY attributes, one might look elsewhere.

len

-----Original Message-----
From: John Cowan [<A  HREF="mailto:c&#111;&#119;&#97;n&#x40;&#99;&#99;&#x69;l.o&#x72;g">mailto:c&#111;&#119;&#97;n&#x40;&#99;&#99;&#x69;l.o&#x72;g</A>] On Behalf Of John Cowan
Sent: Thursday, March 08, 2012 10:58 AM
To: Michael Kay
Cc: &#x78;&#x6d;&#108;&#x2d;&#100;ev&#x40;l&#x69;&#115;t&#115;.x&#x6d;&#108;&#46;&#111;r&#103;
Subject: Re:  Should XML Professionals Be Programmers?

Note to Len:  Writing and debugging XSLT *is* programming.  Anyone who
can learn to program in XSLT can learn to program in any other language.

</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post40070.html</link><pubDate>Thu, 08 Mar 2012 12:39:12 GMT</pubDate></item><item><title>Re:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<pre>
Michael Kay scripsit:

&gt; There's no such thing as an XML professional, any more than you can be a  
&gt; screwdriver professional or a fork-lift truck professional. People who  
&gt; define their abilities by the tools they can use proficiently are not  
&gt; professionals, they are technicians; professionals define their  
&gt; capabilities in terms of the problem space, not the solution space.

Quoted for truth.

Note that _qualified_ has different meanings on opposite sides of the
Pond.  Where a Brit may say

	He's qualified, but can he do the work?

a Yank may express the same thought with

	He has the credentials, but is he qualified to do the work?

Note to Len:  Writing and debugging XSLT *is* programming.  Anyone who
can learn to program in XSLT can learn to program in any other language.

-- 
I Hope, Sir, that we are not                    John Cowan
mutually Un-friended by this                    &#x63;o&#119;an&#64;cci&#108;.or&#x67;
Difference which hath happened                  http://www.ccil.org/~cowan
betwixt us.     --Thomas Fuller, Appeal to Injured Innocence
</pre>

]]></description><link>http://www.stylusstudio.com/xmldev/201203/post90060.html</link><pubDate>Thu, 08 Mar 2012 11:58:10 GMT</pubDate></item><item><title>RE:  Should XML Professionals Be Programmers?</title><description><![CDATA[<!--X-Body-of-Message-->
<table width="100%"><tr><td bgcolor="white" style="background-color: white; a:link { color: blue } a:visited { color: purple } ">





<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Those are popular phrases but largely
meaningless unless further defined by the processes and kinds and types of data
to be integrated.&nbsp; For example, how much analysis is required of the integrated
sources, how are they QA&#8217;d and does that occur before or after the XML is
created given that XML is the final format for delivering an integrated
product?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>len<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Michael Hopwood [mailto:&#109;ic&#x68;&#97;e&#x6c;&#x40;&#101;&#100;iteur&#x2e;&#x6f;&#114;g] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, March 08, 2012
10:52 AM<br>
<b><span style='font-weight:bold'>To:</span></b> &#x78;ml&#45;&#100;e&#118;&#64;li&#115;&#x74;&#115;.x&#109;&#x6c;&#x2e;&#111;&#x72;g<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE:  Should XML
Professionals Be Programmers?</span></font><font color=black><span
style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>So the problem space
is&#8230;? How does &#8220;information integration&#8221; or &#8220;data
integration&#8221; sound? That is one of the phrases I hear bandied around at
lot at present.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Michael Kay [mailto:&#109;&#105;&#x6b;&#101;&#x40;&#x73;a&#x78;&#111;&#110;ic&#x61;&#46;&#99;om] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 08 March 2012 16:44<br>
<b><span style='font-weight:bold'>To:</span></b> xm&#x6c;&#x2d;&#x64;ev&#x40;lists&#46;xml&#46;&#x6f;&#114;g<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re:  Should XML
Professionals Be Programmers?<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt'><br>
<br>
On 08/03/2012 16:27, Len Bullard wrote: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'>It&#8217;s a general qualifications
question:&nbsp; do you expect an XML professional to:</span></font><span
lang=EN-GB><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><span
lang=EN-GB><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt'>There's no such thing as an XML
professional, any more than you can be a screwdriver professional or a
fork-lift truck professional. People who define their abilities by the tools
they can use proficiently are not professionals, they are technicians;
professionals define their capabilities in terms of the problem space, not the
solution space.<br>
<br>
Michael Kay<br>
Saxonica<o:p></o:p></span></font></p>

</div>




</td></tr></table>
]]></description><link>http://www.stylusstudio.com/xmldev/201203/post10070.html</link><pubDate>Thu, 08 Mar 2012 11:02:21 GMT</pubDate></item></channel></rss>
