XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML Design for Diverse Data

I agree. Typically you might have a pipeline that extracts (perhaps
via transform) data from an inbound message that an endpoint is
willing to process (or discards that which it is not - using the 'must
ignore' pattern) and then despatches whats left to specific validators
based on their namespace URI.

I assume that NVDL is not limited to just calling standard XML schema
or RelaxNG validators, but to any validator written in any language.
That is it could call a schematron or a Java component, ... ? In that
sense it usefulness is not only that it can deal with multiple
namespaces but allows complete [conytrolled] diversity of the
validation task.

Fraser.

2008/4/25 Dave Pawson <davep@dpawson.co.uk>:
> bryan rasmussen wrote:
>
> > NVDL is focused on allowing extensibility of the XML, but at the end
> > of an NVDL validation the XML instance is valid and unchanged.
> >
>
> Would you expect any xml instance to be changed by a validation process?
>
>
>
>
>  This is
> > of course a good thing in some circumstances, but in the context of a
> > large enough system that I don't trust I might want to do something
> > like:
> >
> > Validate, send only one particular namespace to certain parts of the
> system.
> >
>
> A transformation task? Not a validator?
> NVDL despatches certain parts of an instance to a validator.
> Not to a part of your system.
>
>
> >
> > Currently what I would do is to extract the relevant namespace and
> > serialize it via an XSL-T and send it to the part of the system that I
> > know can handle that namespace.
> >
> > NVDL doesn't seem to help that.
> >
>
> Nor would Jing or any other validator? It's not their job in life Bryan.
>
> I wouldn't expect to use a validator as a sax filter? They why should I ask
> a validator to do a filters job?
>
>
> Quote. 19757:4
> This part of ISO/IEC 19757 specifies a Namespace-based Validation
> Dispatching Language (NVDL). An NVDL
> script controls the dispatching of elements or attributes in a given XML
> document to different validators,
> depending on the namespaces of the elements or attributes. An NVDL script
> also specifies which schemas are
> used by these validators.
> end quote.
>
>
>
>
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> _______________________________________________________________________
>
>
> 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-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS