[qmtest] RFE: result annotations

Stefan Seefeld seefeld at sympatico.ca
Wed Sep 24 00:41:53 UTC 2003


Mark Mitchell wrote:
>>hmm, you could define your document type via xml schema, and then allow
>>inside <annotation> nodes any valid xhtml.
> 
> 
> I don't know how to do that, but if it works...
> 
> I'm concerned about how that would work with DOM.  We want to be able to get
> the text back from the node somehow.  With Python's current DOM
> capabilities, I'm not sure that there's any way to use an XML schema to
> guide the tree construction.

I don't exactly understand what you mean by 'get the text back'. Since
qmtest knows the schema it supports, it's certainly possible to return
the 'content' of the *known* nodes (such as 'annotation'). This content
would then be a subtree, which qmtest should treat as a black box.

So the only difference I can see is that instead of it being pure text
(with embedded markup) it would be an actual dom tree. Either way qmtest
doesn't care.

Regards,
		Stefan




More information about the qmtest mailing list