383days since
Project Completion

Recent site activity

Recent Updates‎ > ‎

First Steps to Success!

posted 24 Apr 2012 08:27 by Christopher Stedham
Today we have made a significant step towards producing an XCRI-CAP 1.2 data feed. We submitted some hand crafted XML code to the XCRI-CAP 1.2 Online Validator and after a few false starts, we now have some XML which validates.

We achieved this by using the Sample XCRI-CAP 1.2 instance file information, chopping out the first course in the file which didn't match our needs and then adding our data to the remaining XML structure. Please see our first attempt XML file which is available here: XML Test. There were a few "gotchas" which we worked through:
  1. Somewhere along the lines a Microsoft product (Word or Excel) changed standard quotation marks to "special" opening or closing speech marks.
  2. We had some general XML tag issues - these are a hazard when not using a tool specifically for XML manipulation.
  3. It took a while to get the correct SchemaLocations. please see the XML Test page for ones that worked for us.
There were some other warnings which we fixed during the validation tests. The validator tool did offer some recommendations, and we will need to review these before we start to produce any data feed.
Comments