RE: Solution sought to the Xalan-key bug

Oliver Becker <[email protected]> Thu, 18 Sep 2003 15:43:05 +0200 (MEST)
Newsgroups gmane.text.xml.schematron
Message-ID <[email protected]>
Owen,

[please keep this on-list, so others can follow and find answers in the
archive of this list]

> >And you're sure that your Schematron markup is correct, 
> >i.e. all your key elements have indeed a match attribute?!
> 
> This is with wai.xml processed via skeleton1-5.xsl, both downloaded from
> the site and unaltered. 

We're talking about
http://www.ascc.net/xml/resource/schematron/WAI-example.html
yes?

This wai.xml seems to be incomplete.
The <key> element inside (there's only one) has no match attribute
(that's what the error message is telling you), so the WAI schema
itself is buggy.
Since the defined key (imgkey) is never used anywhere else I suppose
you can savely remove this line (the key element in line 32).

HTH,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: [email protected]             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf