[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: [ubl-dev] UBL 2.0 and Schema Extensibility

  • To: "G. Ken Holman" <gkholman@c...>
  • Subject: Re: Re: [ubl-dev] UBL 2.0 and Schema Extensibility
  • From: "Fraser Goffin" <goffinf@g...>
  • Date: Tue, 16 May 2006 13:42:49 +0100
  • Cc: UBL-Dev <ubl-dev@l...>, "XML-Dev Mailing list" <xml-dev@l...>
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ghe3Gk4XlUxWDPWQXwsvbYxE/QtMNLwRKinVw386Nc/WeJAy8OCnVGyQdOBU+yhN1IpSbBYJ6B9MtbgCi1WP0FVwsiEMZvH5+uqJ/OZRar+2fzsZ3UmGnPUG8rlQwUa4376jZf4en8BsDQ240o/ivWjOGhR1UsZfddn2mZKdNy8=
  • In-reply-to: <7.0.1.0.2.20060516135529.029e7178@C...>
  • References: <7.0.1.0.2.20060516104249.02a9eb98@C...> <88aed1ea0605160311l254c78e2l7081d1dece9f67d4@m...> <7.0.1.0.2.20060516135529.029e7178@C...>

outboard schema
H'mmm, I been discussing some of this with my colleagues. One things I
am slightly concerned about is 'raising the bar' too high for some
service consumers.

The default way that most people validate messages is via XML schema
and the standard features of a validating parser. Where that schema
includes extensibility, then the communicating parties can choose
whether to take account of the content in those locations (if they
have a schema on which they have both agreed), or ignore it. Using
processContent = 'lax' most closely supports this approach, whereas
skip just ignores content altogether..

As you know I am also interested in NVDL, partly because it supports
other ideas we have about selecting only those parts of a message that
are of interest to us and ignoring anything else (a form of 'must
ignore' pattern). However, using mechanisms such as NVDL or writing
something yourself that does soemthing similar, means that in a large
community you may be either forcing everyone to meet this level of
processing sophistication, or be removing the possibility of
performing at least the default validation processing provided 'out of
the box' by most validating parsers. Hence my earlier comment about
whether in the face of using extensibility in schema, the criticality
of NVDL is reduced. That is, assuming you just wanted structural
validation, why wouldn't you just load up your parser's schema cache
with all of the schema that you are interested in validating against
including any from any of the xs:any extensibility points (sorry just
having a bit of fun seeing how many times I could say 'any' in one
sentance :-).

Fraser.

On 16/05/06, G. Ken Holman <gkholman@c...> wrote:
> At 2006-05-16 11:11 +0100, Fraser Goffin wrote:
> >>I've suggested processContents="skip".
> >
> >I know, I saw the email. Why not 'lax' ?
> >
> >Fraser.
> >
> >On 16/05/06, G. Ken Holman <gkholman@c...> wrote:
> >>...
> >>My tests indicate what I think is needed for the schema declaration:
> >>
> >>   http://lists.oasis-open.org/archives/ubl/200604/msg00074.html
> >>
> >>I've suggested processContents="skip".
>
> Because I feel the new UBL extensibility element should be a black
> box.  If I were to use "lax" then the W3C Schema validation step
> would be looking inside the black box for elements it knows about ...
> and I don't need it to ... because I'll be using NVDL to despatch the
> contents of the black box to outboard validation tasks, so there is
> no need to confuse the validation results being interpreted by the
> end user to be told twice that something is wrong inside of the black box.
>
> So I really think "skip" is what has to be used.
>
> . . . . . . . . . Ken
>
> --
> Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
> Also for XSLT/XSL-FO training:    Minneapolis, MN 2006-07-31/08-04
> Also for XML/XSLT/XSL-FO training:  Varo, Denmark 2006-09-25/10-05
> World-wide on-site corporate, govt. & user group XML/XSL training.
> G. Ken Holman                 mailto:gkholman@C...
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/u/
> Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
> Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/u/bc
> Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.