Re: conformance testing....

Aleksander Slominski <[email protected]> Tue, 10 Feb 2004 17:53:11 -0500
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
Stefan Haustein wrote:

>Aleksander Slominski wrote:
>
>  
>
>>the problem is with how much correct in regard to XML 1.0 we want to be?
>>    
>>
>
>For kXML, I would like to parse correct documents correctly, but for 
>incorrect documents the result would be undefined: errors may or may not 
>be detected.
>
>  
>
sounds like exactly what neede for J2ME - validation could be done by 
intermediate service but still you need to do soem validaiton ...

>>>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 ...
>>    
>>
>
>We could simply add a new flag... Or use the "relaxed" flag for that 
>purpose.
>
>  
>
that sound like good idea.

so if http://xmlpull.org/v1/doc/features.html#relaxed is supported those 
errors will be not fatal and just reported as violations?

thanks,

alek

-- 
The best way to predict the future is to invent it - Alan Kay



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Send the freshest Valentine's flowers with a FREE vase from only $29.99!
Shipped direct from the grower with a 7 day freshness guarantee and prices so low you save 30-55% off retail!
http://us.click.yahoo.com/_iAw9B/xdlHAA/3jkFAA/2U_rlB/TM
---------------------------------------------------------------------~->

 
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/