[Versa] Updated test cases and spec

Michael Olson Mike.Olson at fourthought.com
Wed Oct 5 12:15:46 MDT 2005


>
> I get:
>
> xslt-tests:
>      [echo] processing tests
>      [exec] Error parsing source document
> (file:///home/uogbuji/devel/Versa/docs/spec/TestCases.doc): XML parse
> error in u'file:///home/uogbuji/devel/Versa/tests/Manifest.rdf' at line
> 30, column 9: mismatched tag
>
> BUILD FAILED
> /home/uogbuji/devel/Versa/build.xml:100: exec returned: 1
>
> tests/Manifest.rdf has several WF errors, and the pattern makes me
> wonder whether they're intended (?!).

hmm.  it shouldn't.  It is built using cpp to create it from all of the  
sub-manifest files.  I imagine it is a difference in cpp.

I'd like to get away from cpp, but xinclude does not do what I want so  
I cannot use that.  The problem is I would like each "sub-manifest"  
file to be standalone as well as the master manifest file.  So given a  
original manifest file like

<rdf:RDF>

   <xi:include href="String.rdf"/>

</rdf:RDF>

and a file String.rdf like

<rdf:RDF>
   <testCase1/>
</rdf:RDF>

when processed I get

<rdf:RDF>
   <rdf:RDF>
     <testcase1/>
   </rdf:RDF>
</rdf:RDF>

Which is not what I want and illegal rdf regardless

> I tried to figure out what that
> file is supposed to do but Ant is confusing as hell to read, and I gave
> up.
>
ant is probably not the issue, unless it is an error in how ant is  
calling cpp.

Manifest.rdf is  a RDF file with all of the test cases merged into a  
single document.  Then the merged document is xincluded into the  
TestCases.doc file which is rendered for the web.

> So I can't browse the test cases.  I'll work through the spec today.
>

Can you send me you Manifest.rdf off list and I'll look at it.

Mike

>
> --  
> Uche Ogbuji                               Fourthought, Inc.
> http://uche.ogbuji.net                    http://fourthought.com
> http://copia.ogbuji.net                   http://4Suite.org
> Articles: http://uche.ogbuji.net/tech/publications/
>
> _______________________________________________
> Versa mailing list
> Versa at lists.fourthought.com
> http://lists.fourthought.com/mailman/listinfo/versa
>
------------------------------------------------------------------------ 
-----------------
Mike Olson                                                Principal  
Consultant
mike.olson at fourthought.com                +1 720 253 4662
Fourthought, Inc.                                       
http://Fourthought.com
PO Box 270590,                                       http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management



More information about the Versa mailing list