Re: conformance testing....
Aleksander Slominski <[email protected]> Tue, 10 Feb 2004 17:14:20 -0500
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Aleksander Slominski wrote:
> Stefan Haustein wrote:
>
>> Cant we define two levels of conformance, where the basic level only
>> covers tests that make sure that documents respecting the syntax
>> rules are recognized correctly?
>>
>>
> i guess we can do this. however how to detect what elevel of suport
> parser should have? it becomes complicated ...
>
maybe in this case we can have unit tests to report those problems but
continue testing prodicing test report looking like this?
.........................................
.........................
Time: 2.374
OK (66 tests)
Test results
* NOT SUPPORTED: total 2 problems with XML 1.0 compliance
* NOT SUPPORTED: checking ]]> in element text content
* NOT SUPPORTED: checking attribute names duplication
* factory class org.xmlpull.mxp1.MXParserFactory
* default parser class org.xmlpull.mxp1.MXParserCachingStrings
* namespace enabled parser class org.xmlpull.mxp1.MXParserCachingStrings
* default serializer class org.xmlpull.mxp1_serializer.MXSerializer
* optional feature
http://xmlpull.org/v1/doc/features.html#serializer-attvalue-use-apostrophe
is supported
* optional property
http://xmlpull.org/v1/doc/properties.html#serializer-indentation is
supported
* optional property
http://xmlpull.org/v1/doc/properties.html#serializer-line-separator is
supported
* optional feature
http://xmlpull.org/v1/doc/features.html#xml-roundtrip is supported
* optional property
http://xmlpull.org/v1/doc/properties.html#xmldecl-version is supported
* optional property
http://xmlpull.org/v1/doc/properties.html#xmldecl-standalone is supported
* optional property
http://xmlpull.org/v1/doc/properties.html#xmldecl-content is supported
what you think?
alek
--
The best way to predict the future is to invent it - Alan Kay
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xmlpull-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/