XML Validation Framework using OASIS CAM (CAMV)
Use a declarative programming approach to write your XML data validation rules
From the developerWorks archives
Date archived: May 14, 2019 | First published: May 11, 2010
In this article, we present an approach for XML Validation using OASIS Content Assembly Mechanism (CAM) templates to support a wide array of complex message exchanges with business partners using B2B or B2C business patterns. The CAM templates simplify and externalize the validation rules while allowing the gateway to act as a pass-through on information that is not directly relevant. We also cover our experiences using an open source component built using Eclipse and Java™ technology to deliver the needed validation services. Follow the application development process as it happened along with sample code snippets and an XML example using the STAR (Standards for Technology in Automotive Retail) Automotive Business Object Document (BOD) schema and associated CAM XML template.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.