[
Lists Home |
Date Index |
Thread Index
]
One approach would be to implement your own context stack. Its not
especially difficult but a bit fiddly, we have done it on a few
occasions. For our current validation process we create a standard
output structure that includes row/column and also xpath. Depending on
the validator called it is more (or less) easy to populate values for
xpath (e.g. for an XSLT based validator its easy).
Fraser.
On 12/05/06, Jirka Kosek <jirka@kosek.cz> wrote:
> bryan rasmussen wrote:
> > I vote xpath, or realistically due to needs - subset of xpath, which
> > would be the defined as absolute paths to elements and attributes
> > only.
>
> We considered this, but problem is that current validators for WXS and
> RNG return position of error in terms of line and column numbers. And
> going from these numbers back to XPath is not straightforward. Any ideas?
>
> Jirka
>
> --
> ------------------------------------------------------------------
> Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
> ------------------------------------------------------------------
> Profesionální školení a poradenství v oblasti technologií XML.
> Podívejte se na náš nově spuštěný web http://DocBook.cz
> Podrobný přehled školení http://xmlguru.cz/skoleni/
> ------------------------------------------------------------------
> Nejbližší termíny školení:
> ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
> ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
> ------------------------------------------------------------------
> http://xmlguru.cz Blog mostly about XML for English readers
> ------------------------------------------------------------------
>
>
>
>
|