Re: [xml-dev] Using Saxon 9 as a Schematron 1.5 back end

From
Henri Sivonen <>
To
XML Dev ML <>
Date
2008-01-23T15:01:08Z
ID
<>
Thread
Re: [xml-dev] Using Saxon 9 as a Schematron 1.5 back end
On Jan 21, 2008, at 15:44, Anthony B. Coates (XML-Dev) wrote:

> On Mon, 21 Jan 2008 11:36:37 -0000, Henri Sivonen <>  
> wrote:
>
>> Validator.nu uses a patched version of oNVDL with Xalan as its  
>> Schematron 1.5 back end. I switched from Saxon 6 to Xalan in order  
>> to get column numbers in addition to line numbers on errors.  
>> However, I'm not happy with the performance of Xalan, which is why  
>> I'm considering going back to Saxon. To do that without feature  
>> loss, I need to patch Saxon to support column numbers.
>
> As many XML editors can use an XPath just as easily as line/column  
> numbers to take you to a particular place in a document, I usually  
> find it sufficient to return an XPath.  It's straightforwards to  
> generate, and avoids that need to have line/column numbers.


That's not what I need for Validator.nu. Every other library that I  
use supports reporting errors with SAX locator data and, therefore,  
I've built a front-end based on lines and columns. I control the  
locator and I want to be able to retrieve both the line and column  
that I carefully put in.

-- 
Henri Sivonen

http://hsivonen.iki.fi/