Re: Re: PULL Parser in PHP

Aleksander Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
lrargerich wrote:

> I love the idea to write the tests as XML, then convert the XML to
> X-Language using XSLT, then run the code and the code should directly
> show if the tests passed or failed.

that is very interesting idea ! XSLT could be also used to get test results
nicely converted into HTML output...

> Based on this assumption I think that the vocabulary for defining the
> tests should be refined to allow an easy XSLT translation to code, If
> you can think about the vocabulary and/or format I may try to write
> the XSLT to PHP and someone (?) can write the XSLT to Java. Then it
> will be easy to write tests and as long as the XSLT exists you can
> test it in all the supported languages.

if you want to give it a try please do it and we will make then sure
that schema for XML is defined in such way to make job of writing
XSLT as easy as possible!

i am not very good in XSLT but i think that it is possible to call
java code directly from XSLT?

i will work on it during weekend and  i will post a preliminary
and simple XML schema for tests and java driver to execute them.


thanks,

alek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.