XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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

>> 
> 
> Right. But XMLUnit doesn't let you do that because it requires an
> absolute path (thank you John) to the node you are testing.
> 

I think it's quite powerful enough to write assertions of the form


every $t in //table satisfies ($t/thead and $t/tfoot)


and assertions like that are quite powerful enough to meet any unit testing needs that I've ever seen

Perhaps you're still thinking of the limitations of XPath 1.0?

Michael Kay
Saxonica



[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