Minor diagnostic problem with this solution.
Given
<content type="xhtml">
<x:div>
<x:p>P content</x:p> <!-- OK -->
</x:div>
<x:p>P content</x:p>
</content>
as the input (invalid);
Validating with the atom schema = invalid
Validating with the xhtml schema = invalid
hence I get two error reports.
/files/nvdl/atom/nodesets.xml:39:6: error: element "p" from namespace
"http://www.w3.org/1999/xhtml" not allowed in this context
/files/nvdl/atom/nodesets.xml:39:6: error: element "p" from namespace
"http://www.w3.org/1999/xhtml" not allowed in this context
Is there some way I can indicate *which* rule is sourcing the invalid report?
Something akin to
<xsl:message/> in xslt?
It is a minor problem though.
regards
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk -- DSDL comments To unsubscribe, please send a message with the command "unsubscribe" to dsdl-comment-request@dsdl.org (mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)Received on Wed May 14 13:02:40 2008
This archive was generated by hypermail 2.1.8 : Wed May 14 2008 - 11:53:03 UTC