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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xslt-conformance message

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


Subject: RE: [xslt-conformance] Example of a submission


>Kirill ... let us know if your test harness can work with what David has 
>produced, with a supplemental copy of his xsltsubs.xml in the parent 
>directory, modifying the href= attribute accordingly.

I need to look into it - should be ok. I would try to avoid generation of the top layer xsltsubs.xml each time the submission below changed - we could go with the top level submission files ans syntethic submissions referring to external entities that are stored in submission directories and contain node lists  of testcases:

synthesized submission:
<!DOCTYPE test-suite SYSTEM "test-suite.dtd" [ 
  <!ENTITY lotus SYSTEM "lotus\lotus.ent">  
  <!ENTITY msft SYSTEM "msft\msft.ent">    
]>
<test-suite>
<test-catalog>
<creator>MSFT</creator>
<date>2001-07-05 20:00</date>
&msft.ent;
</test-catalog>
<test-catalog>
<creator>Lotus</creator>
<date>2001-07-05 20:00</date>
&lotus.ent;
</test-catalog>
</test-suite>

Lotus submission:
<!DOCTYPE test-suite SYSTEM "test-suite.dtd" [ 
  <!ENTITY lotus SYSTEM "lotus\lotus.ent">    
]>
<test-suite>
<test-catalog>
<creator>Lotus</creator>
<date>2001-07-05 20:00</date>
&lotus.ent;
</test-catalog>
</test-suite>

Lotus entity (lotus.ent):
<test-case>
...
<test-case>
<test-case>
...
<test-case>
...

What do you think?

-----Original Message-----
From: G. Ken Holman [mailto:gkholman@CraneSoftwrights.com]
Sent: Friday, November 16, 2001 10:59 AM
To: xslt-conformance@lists.oasis-open.org
Subject: Re: [xslt-conformance] Example of a submission


At 01/11/16 00:28 -0500, David_Marston@lotus.com wrote:
>I had a couple of surprise distractions this week, so I just now
>finished off this set of test cases (all for xsl:number) cataloged the
>new way and with the catalog included. The XML catalog data is in the
>top directory. I think that this is how we expect submissions to
>arrive: the top-level directory has the XML catalog and a small
>"submission" file.

Isn't there a level missing for the submission file?  You have xsltsubs.xml 
in the Lotus directory ... I assumed it would be in the parent of the Lotus 
directory and would point into the Lotus directory.

Similarly, Microsoft would have a Microsoft directory and in the parent 
would be the submission file from Microsoft.

We would then copy all of the subdirectories over, and create a single 
xsltsubs.xml.

I think Kirill had a request that the submission work as if it were a 
single submission or a multiple submission ... something to do with his 
test harness.

But personally, I like what you have done here, because this gives us the 
choice of renaming the master directory to what we want, *plus*, each 
subdirectory keeps the submitted "xsltsubs.xml" file ... using stylesheets 
we can pluck that file from each subdirectory and create in the master 
directory the synthesis of all xsltsubs.xml files into a single one with an 
introduced layer in the <submission href=> attribute.  Again, this promotes 
the contents of the directory being unchanged from a submission.

Kirill ... let us know if your test harness can work with what David has 
produced, with a supplemental copy of his xsltsubs.xml in the parent 
directory, modifying the href= attribute accordingly.

>The catalog itself validated okay

I saw a validation problem with the <elaboration> element, in that the 
content you assumed was #PCDATA, yet it is prose so must be in <p> elements 
in an <elaboration> element.

>under valcat except for one thing:
>valcat thought that the two references to xsltcfg.xml were different
>files.

I'm not sure what you are describing above ... except for the <elaboration> 
elements, everything seems to work just fine for me.

>That probably reflects some newly-revised thinking about
>generated IDs and the document() function. I think that we should
>settle for string equivalence of the names.

Can you detail an example?

>Keep those documents coming!

I've posted on the work page "Prototype 6" which has the copyright 
statement in each stylesheet and XML file, plus the changes requested by 
Microsoft regarding the id() function.  Please let me know if you see any 
changes that need to be made (Kirill, I did the code changes from scratch, 
examining all of the stylesheets ... I need you to test to see if I messed 
up at all).

>Talk to you next week!

I'm awaiting teleconference details from OASIS.

Thanks, David!

..................... Ken

--
G. Ken Holman                      mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.               http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0     +1(613)489-0999   (Fax:-0995)
Web site:     XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book:  Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public training (instructor-live, Internet-live, and web-based):
-                 2001-11-19,11-21,12-03,12-05,12-09,12-10,12-19,12-20,
-                                          2002-01-08,01-10,02-18,02-21


----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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


Powered by eList eXpress LLC