[dsdl-comment] Re: nvdl:message

From: Dave Pawson <dave.pawson@gmail.com>
Date: Mon Jun 09 2008 - 07:56:24 UTC

2008/6/9 MURATA Makoto <murata@hokkaido.email.ne.jp>:
> The debug option of SnRNV might help. Do other validators provide
> something similar?

Great. I'm thinking of a feature request for version next?

I'm not sure xpath is needed, but think of the information an *average* user
would want from an NVDL implementation when debugging it?

1. Where are the section boundaries.
2. Did that section validate in mode A or mode B

What are the debug options?
1. Insert namespace errors in the instance.
2. Insert invalid content and ... today I can't get enough information?
  I want to find out if content X is invalid due to Schema A or Schema B?
  In turn this could tell me that mode A is wrong.

With a very complex XML instance getting that sense of 'my NVDL is good'
is not easy. I'd like something to help a user gain more confidence.

<nvdl:message>in mode X, source is <xsl:value-of
select='name(..)'/>/<xsl:value-of select='name()'/></nvdl:message>

That would help me, but I have an XSLT bias :-)

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 Mon Jun 9 09:56:40 2008

This archive was generated by hypermail 2.1.8 : Mon Jun 09 2008 - 11:23:07 UTC