[Home] [By Thread] [By Date] [Recent Entries]

  • From: "G. Ken Holman" <gkholman@C...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Fri, 30 Nov 2012 17:03:01 -0500

At 2012-11-30 20:28 +0000, Fraser Goffin wrote:
>On 30/11/2012, G. Ken Holman <gkholman@c...> wrote:
>
> > As soon as you touch the namespace string, all downstream processes
> > relying on the qualified names break.  If different versions of a
> > vocabulary have slightly different semantics (or putting it another
> > way: predominantly the same semantics), the language definition
> > should tell an application how to accommodate forward and backward
> > compatibility.  The vocabulary itself is identified by the URI
> > string.  The application can determine the version.
>
>Didn't read this bit closely enough first time. Are you alluding to
>approaches like 'must ignore unknown' as the 'language definition' or
>am I reading too much into that ?

That was my intention, yes ... when defining an XML vocabulary such 
expectations for forward and backward processing should be spelled 
out.  What to do when something arrives that was supported but is no 
longer supported (I wouldn't expect many of those) and what to do 
when something arrives labeled as part of the vocabulary that isn't 
recognized (that is important, even if it is to say "this is an 
error").  Also, what to do when something arrives that is foreign to 
the vocabulary (e.g. foreign attributes attached to a known element, 
and foreign elements that are under a known element).

. . . . . . . . Ken


--
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                   mailto:gkholman@C...
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member