diagnostics use.

[email protected] Thu, 22 Jan 2004 10:54:10 -0000
Newsgroups gmane.text.xml.schematron
Message-ID <[email protected]>
Picking up Schematron 1.5, not having used it for some time.
I'm looking for some guidance on the use of the diagnostics tag.

I have

  <pattern name="FeedLink" id="FeedLinkCheck">
    <rule context="r:feed">
      <assert test="r:link[@rel='alternate']"
	      role="Feed/link check"
      diagnostics="feedLink">Required link element with rel attribute
      value of 'alternate' is missing.  4.4 states: atom:feed elements
      MUST contain at least one atom:link element with a rel attribute
      value of "alternate".
      </assert>
    </rule>
  </pattern>

and


  <diagnostics>
    <diagnostic id="auth1">Feed element has no author.  Neither do
    entry children</diagnostic>

    <diagnostic id="feedLink">4.4 states: atom:feed elements MUST
    contain at least one atom:link element with a rel attribute value
    of "alternate".
    </diagnostic>
  </diagnostics>

But the diagnostics text isn't showing.
  1.5 complexity has me scratching my head.

Unsure which stylesheet to use, 
  params to pass in,
  or new templates to write/modify.

Any assistance appreciated.

Regards DaveP.

**** snip here *****

- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn