At 11:49 PM +0000 2/4/03, Michael Kay wrote:
One suggestion for conformance testing (not as silly as it seems) is
that you should construct the source data model using XSLT. That way,
it's well defined what data model you get from a given input.
An interesting idea. The problem is you're not testing what most
people are doing. This still allows a processor to convert all actual
documents to <foo/> on input. On the other hand, it would at least
require all processors to implement most (perhaps all?) of the spec
so implementations couldn't be so trivial.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo(_at_)metalab(_dot_)unc(_dot_)edu |
Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Processing XML with Java (Addison-Wesley, 2002) |
| http://www.cafeconleche.org/books/xmljava |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list