OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cam-dev message

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


Subject: CAMV RC4 release made - thread safe XML validator service for enterpriseserver environments


Just wanted to let everyone know about interesting new development.

The use case is providing a validation service for large highly varient schema such as OAGi STAR BODs.

Using the CAM template you are able to create a very lightweight checking mechanism that only looks for a discreet parts that your applications require, and ignore the rest of the XML exchange content.

Specific technical details on the CAMV RC4 are noted below.

Thanks, DW

-------- Original Message --------
A new version of the CAMV Validator with thread safe processing is now available. Included is a new example of how threads might be used where the template is read in to an SDOM format and then
passed to a hundred threads. The test example sends the threads three different versions of files with different numbers of errors. By looking at the id you can check if the threading has worked. In our test
machine this was able to clock up 1000 threads and they all returned with the correct number and type of errors.

You will see that there has been a slight change to the way ErrorHandlers are set as it is now not a static call. This is done to help the Thread Safety as it was the error handling that was not Thread
Safe. In the example you will also see how to get errors from the resultant sdom file. You could circumvent this need to query the original document by producing an ErrorHandler that simply collected the errors along with their xpaths and passed that back to the supplier of the system.

The vision is that developers could supply a tool kit for their partners to use that would enable them to test their files against template(s) before sending production exchanges and therefore greatly reducing the errors received. As CAM also allows you to annotate and document your template this should be able to form the basis of your interface documentation.


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