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

Re: XPath/XSLT 2.0 concerns


Re:  XPath/XSLT 2.0 concerns

> There are some controversial design choicesin the above, but the 
> argument for schema validation because it pushes some things down a 
> layer does have some merit.
> 
> But I don't buy it.  If I'm going to be accepting transactions encoded 
> in XML my *business* level validation is going to be doing a lot of 
> looking up part numbers in catalogues and buyer-IDs in other databases 
> and pricing rules and so on and so on.  If I'm already doing this in a 
> high-volume transaction processing application I think it's going to be 
> hard to justify a full-dress schema validation step when the 
> business-validation code already knows the data types and can do the 
> data conversion right down there inline, and fail deterministically if 
> something isn't as expected. -Tim

I am looking at it from the developer's side, doing
a similar thing right now. From my point of view, it would
have been nice to build a Schema/DTD object model from the
Schema/DTD, most likely at design time, which can/will
work like a validator, but at the same time allows me to
plug in my business application logic in the right places.

That way, validation and business logic is carried out
together, and the Schema/DTD has become part of the application,
instantiated in my programming language of choice.

I didn't have time to do it to its full extent in my application,
I just built a very rudimentary form of it.

So, what I am trying to say is: as a separate and unrelated step I don't
see much value in Schema/DTD validation (from the developers perspective),
but being able to pull a validation engine with all its hooks into my application
would have been nice.

Karl

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.