Closed pradyumanaggarwal closed 6 months ago
By any chance @phax you get to find solution for this one ?
Yes I did :)
The error is, that the namespace prefix was missing in the context
elements.
So instead of
<sch:rule context="title">
it should be
<sch:rule context="html:title">
(and the same for shortdesc
)
I am trying to use HTML tags in Schematron File and validating it against XML doc. I have used
SchematronResourceSCH
class implementation.Schematron file :
It's returning text error using rule of short description and it is a valid schematron file. But not returning anything for rule on title even when it should.
@phax