[dsdl-comment] Re: nvdl context element usage

From: George Cristian Bina <george@oxygenxml.com>
Date: Wed May 14 2008 - 11:49:05 UTC

No.
I believe some NVDL implementations may choose to show the first error
and stop - but that is not very useful in the general case.

Best Regards,
George

--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Dave Pawson wrote:
> 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
> 
> 
> 
--
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:49:08 2008

This archive was generated by hypermail 2.1.8 : Wed May 14 2008 - 12:03:04 UTC