Re: Disco and Caps
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Sat, 22 Aug 2009 15:35:37 +0200 (CEST)
Quoting Ugnich Anton <ugnich@xxxxxxxxx>:


Haved trouble with caps ver calculating. It is not valid!
Looked in to the code and found, that disco.cpp returns to
capabilities.cpp list of features WITHOUT disco#info and disco#items.
But, when creating query result tag, it includes this features in the
list.

Can be corrected this way:
disco.cpp, line 270:
-Info *i = new Info( EmptyString, true );
+Info *i = new Info( EmptyString, false );

I think a better fix is to add the default features to the caps calculation, which I've done in svn now.


Also, there an error in composing caps ver string:

I believe the code is correct.