OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Testing XML don't use xUnit

On 10 April 2013 17:33, Ihe Onwuka <ihe.onwuka@gmail.com> wrote:
> On Wed, Apr 10, 2013 at 4:56 PM, Andrew Welch <andrew.j.welch@gmail.com> wrote:
>>> I have never said  writing // anything. Maybe you are presuming thats
>>> what is meant by a resilient test.
>> That what my inference from all the talk about using a context instead
>> of a full path... if I'm wrong please provide a simple concrete
>> example.
>>> So if the xquery you are referring to is your own homebrew... then my
>>> advice stands as is. Again Uche's post identifies the correct nuance.
>> What was the nuance - it was that subtle I missed it.
> Maybe it's more constructive for me to summarize my recollection of
> how Schematron works.

A concrete example of a 'resilient test' would've been great...

> It traverses the XML tree and for each node it encounters it searches
> for a(n assertion) rule to fire.

It's sounds like xslt push processing ;)

> So it doesn't matter if the structure of the path leading to the XML
> changes - because Schematron navigates it's way to the node itself.

Exactly like using //

Where's this nuance?

Andrew Welch

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS