Disallow obsolete attributes/values #58

rmzelle opened this Issue Jul 7, 2011 · 0 comments


None yet
1 participant

rmzelle commented Jul 7, 2011

Since CSL 1.0, the schema has been rewritten to include separate definitions for dependent and independent styles. As a result, we can be more specific with regard to the attributes and attributes values allowed for each type. We should probably make this change in CSL 1.1 to prevent style from becoming invalid. The attributes/values affected:

  • for cs:link, "independent-parent" (independent styles) and "template" (dependent styles)
  • for cs:style, "class", and any of the style options (dependent styles)

These can all just be stripped from styles with the next XSLT upgrade script, and removed from the schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment