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

Re: Content Assembly Mechanism (CAM)

  • From: Lech Rzedzicki <xchaotic@gmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 7 Oct 2009 15:03:02 +0100

Re:  Content Assembly Mechanism (CAM)
On Wed, Oct 7, 2009 at 1:53 PM, Olivier Rossel <olivier.rossel@gmail.com> wrote:
> after just a few minutes of reading:
> CAM looks great to enforce subtle non-trivial validation rules in your schema.
> but defining the structure of the document directly from a sample XML
> structure sounds extremely low-level.

I have to agree and openly criticise reinventing the wheel. The IBM
article mentions building a better mousetrap, but it forgets that very
often programmers reinvent the wheel. There is a very validation
engine out there that both the thing that CAM does and it's called
RelaxNG.
Unsurprisingly, CAM uses XPath for businness rule validation, which is
exactly what RelaxNG has with Schematron rules.
Relax, especially in it's compact syntax is far more readable, in my
view, for defining structure.

> i hope some people from CAM are around so we can discuss those points.

I hope so too, I really would like to see the effort being pointed in
the right direction, such as extending one of the existing standards.
Despite my criticsm, there are some great ideas in there, such as
featuring code lists and separating business rules from defining XML
structure. Ideally I would really want to see the best of all schema
validation engines merged into one some time in the future.

Lech


[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!

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.