[Kde-bindings] problem with juic

Dominique Devriese dominique.devriese at student.kuleuven.ac.be
Sat Apr 3 15:05:37 UTC 2004


Richard Dale writes:

> On Saturday 03 April 2004 14:40, Dominique Devriese wrote:
>> I've managed to package juic fine, but I've run into a few problem
>> with a test UI file:
>>
>> * I also get the following console output:
>> domi: /tmp/testjuic> juic macrowizardbase.ui xsltproc --nonet
>> --novalid /usr/share/juic/juic.xsl macrowizardbase.ui Using output
>> file MacroWizardBase.java with Exslt extension xmlXPathCompOpEval:
>> function string-replace not found XPath error : Unregistered
>> function xmlXPathCompiledEval: 1 object left on the stack runtime
>> error: file /usr/share/juic/java/properties.xsl line 219 element
>> value-of xsltValueOf: text copy failed no result for
>> macrowizardbase.ui which is pretty ugly
>>
>> * it doesn't quote the quotes in '<string>Select the "given"
>>   objects for your new macro and press "Next".</string>', leading
>>   to a compile error.
>>
>> * A lot of variables in the constructor are not declared before
>>   use,
>> leading to a lot of compile errors.
>>
>> I'm attaching the ui file I used for testing, along with the
>> generated .java file.  I've already fixed the second problem, the
>> last problems only appears after fixing it.
> We've never announced it as part of the qtjava release. 

Oh, do you think it's a bad idea to package it in Debian already ?

> I've meaning to take a look at it for ages. Last time I asked Marco
> he said he'd been too busy with his wife and dog to do anything with
> it. But it's really important to have a working juic certainly.

Ack.

>> P.S.: Is this the correct list for this kind of thing ?  Should I
>> file bug reports instead ?  Should I send this to kde-java instead
>> perhaps ?
> kde-java is the best list. I don't think bug reports make sense if
> we haven't released it. I'm happy to help fix it anyway.

Well, consider the previous mail as a set of bug reports ;)

I've dug a little into xslt, how about the attached patch for the
first problem ?

cheers
domi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: juic-quotestrings.patch
Type: text/x-patch
Size: 2062 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20040403/811637a9/attachment.patch>


More information about the Kde-bindings mailing list