NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 469 - use schematron <name> element in assertions.sch, to eliminate redundancy
use schematron <name> element in assertions.sch, to eliminate redundancy
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 enhancement
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-03 04:15 CEST by Michael[tm] Smith
Modified: 2009-04-03 10:51 CEST (History)
1 user (show)

See Also:


Attachments
patch with proposed changes (19.22 KB, patch)
2009-04-03 10:24 CEST, Michael[tm] Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-04-03 04:15:20 CEST
Schematron has a <name> element that can be used to return the name of the context node in <report> and <assert> content. Using it can significantly reduce some of the redundancy in assertions.sch that is necessary without out, and therefore make assertions.sch maintenance a bit easier.
Comment 1 Michael[tm] Smith 2009-04-03 10:24:00 CEST
Created attachment 74 [details]
patch with proposed changes

I realize this is a significant change and not strictly necessary. The intent was to reduce as much as possible the redundancy that was necessary due to not having a way previously to report the name of the context nodes. But I do think this will help to make maintence easier and less error-prone going forward.