[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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@d...>: > 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@l... > subscribe: xml-dev-subscribe@l... > 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|