XCRI Knowledge Base

Setting standards for more effective courses information management

  • Increase font size
  • Default font size
  • Decrease font size

All About XCRI

The XCRI community blog: all about eXchanging Course Related Information (XCRI) and its Course Advertising Profile (XCRI-CAP).

Vocabularies and validation

by Craig Hawker
Craig Hawker
Craig Hawker is a software developer from Northampton who has been involved with
User is currently offline
on Feb 20 in validation 0 Comments

This is the fourth in a series of blog posts aimed at documenting the development of an XCRI-CAP 1.2 validator. The entire series can be found by visiting the validator blog post list. My aim is to post a new blog post every week until the development is complete, then at least once every month to document both the usage of the validator as well as any community-highlighted modifications or issues.

One item that has come up during the development of both the XCRI-CAP 1.2 validator and aggregator is vocabularies.  Using vocabularies for elements such as subject (optionally along with an xsi:type attribute) allows consumers of the feeds to understand the context of the information when it's imported.  Whilst vocabularies vary according to target audience, some vocabularies such as JACS are highly-used within the UK educational sector.  It is highly likely that groups involved in the latest - and any future - JISC-funded activity around XCRI will use vocabularies such as JACS in their feeds.

In order to ensure that the validator can handle vocabularies, it has been decided to write a module enabling validation of content using IMS VDEX files.  To achieve this, a VDEXValidator class has been created that can be used to select elements from the XCRI-CAP 1.2 document and validate them against a specific VDEX file.  If any of the information doesn't match the expected vocabulary, feedback can be highlighted to the user in the standard manner.  [Please note that VDEX files will be used to validate vocabularies using the online validator but VDEX files are not required to use vocabularies within the XCRI-CAP standard itself.]

To test this, the <studyMode> element from the XCRI-CAP 1.2 standard has been converted to VDEX format and the validation rules have been updated to use this VDEX file rather than having the values hard-coded within the validation module itself.  The process has also started for other enumerated values within the XCRI-CAP standard (attendancePattern, attendanceMode, etc), as well as other vocabularies such as JACS.

If you are implementing an XCRI-CAP 1.2 feed on behalf of your institution and would like more information on the recommended vocabularies to use, please contact the working and support groups on the XCRI forum.

The XCRI-CAP 1.2 validation library and an online tool to validate feeds are expected to be completed by the end of February 2012.

Tags: Untagged
Hits: 205
0 votes

About the author

Craig Hawker

Craig Hawker is a software developer from Northampton who has been involved with the XCRI community for the last two years and is author of both an XCRI-CAP 1.1 online validator and also a .NET library used for generating XCRI-CAP feeds.

Trackbacks

Trackback URL for this blog entry
  • wordpress

    by wordpress on Tuesday, 30 November 1999
    Vocabularies and validation - All About XCRI ...
  • cheap seo company

    by cheap seo company on Tuesday, 30 November 1999
    Vocabularies and validation - All About XCRI ...
  • amazing wp Forex template

    by amazing wp Forex template on Tuesday, 30 November 1999
    Vocabularies and validation - All About XCRI ...
  • premium wordpress template

    by premium wordpress template on Tuesday, 30 November 1999
    Vocabularies and validation - All About XCRI ...
  • Web Design Company

    by Web Design Company on Tuesday, 30 November 1999
    Vocabularies and validation - All About XCRI ...

Comments

Please login first in order for you to submit comments

News

Prev Next

The sixth issue of the Course Data Programme Stage 2... Read more

After consultation with the Course Data Programme community, the Data... Read more

The fifth issue of the Course Data Programme Stage 2... Read more

The fourth issue of the Course Data Programme Stage 2... Read more

BS8581 (aka XCRI CAP) out for public comment From Scott Wilson... Read more

The third issue of the Course Data Programme Stage 2... Read more

A video about XCRI-CAP is now available.This video has been... Read more

Data Specification and Vocabularies Framework Elluminate Online Sessions As previously mentioned... Read more

The second issue of the Course Data Programme Stage 2... Read more

Text from event information: "The regulatory landscape in higher education is... Read more

JISC has issued the 1st edition Stage 2 Course Data Newsletter (13... Read more

JISC has issued the special edition Course Data Newsletter (16 December 2011). Read more

Follow XCRI on Twitter Follow XCRI on Facebook Follow XCRI on You Tube


JISC