[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta-devel
Subject:    Re: [quanta-devel] Quanta as DocBook editor: ready
From:       Eric Laffoon <sequitur () easystreet ! com>
Date:       2005-07-11 8:04:36
Message-ID: 200507110104.36203.sequitur () easystreet ! com
[Download RAW message or body]

On Monday 11 July 2005 12:19 am, Eric Laffoon wrote:
> On Sunday 10 July 2005 4:32 pm, Carlos Leonhard Woelz wrote:
> > Hi,
> >
> > It is not much, but I finished the references to Quanta es docbook editor
> > in the KDE Doc Primer. It should be online tomorrow.
> >
> > http://i18n.kde.org/doc/doc-primer/quanta.html
> >
> > I plan to make an article for the dot about it, together with the doc
> > primer. Do the docbook scripts work for the 3.4 branch? (Can someone
> > confirm it?) I know they don't work for head. If they do not, I think I
> > will postpone the article until they do.
> >
> > Cheers,
> >
> > Carlos Woelz
>
> At the moment we don't yet know why only these scripts don't work. I do
> have an idea for a work around if we don't find any other solution, though
> I don't have the time and am a little too rusty to debug the XML libraries,
> and I was going to test my work around ASAP.

This is absolutely infuriating. There may be some reasons to handle things 
different like in a stream oriented solution, but I wonder if these guys just 
"have to" be different. Previous versions did work right and we know this. 
Here is what I've confirmed doesn't work...

xmllint --valid index.dockbook > myfile

In theory it should be possible to offload it to a temp file, but this won't 
work. This outputs to console and creates a blank file. You can also output 
to HTML, but in order to render it it appears you have to next copy and paste 
from the terminal. I mean it looks like they absolutely want you to use the 
console. I found where I could look at IO functions..

xmllint --testIO
This reveals an option for --output filename but _it_ also doesn't work...
xmllint --valid --output myfile index.dockbook
Not only does this not work, but the option is _not_ found in the man pages. I 
went to their bugzilla to see if there was a bug report on this because I 
can't image we're the only ones wanting to redirect output. Their pages says 
they focus on clean code but their bugs say they have lots of memory leaks 
and I'm falling asleep scrolling it. 

> Michal should be back within a 
> week to look and if anyone else wants to have a look they can feel free.
> The problem is that these CLI programs seem to not be compatible with how
> we use stdout.
>
> Eric

Any ideas welcome. libxml2 looks broken to me but maybe they have some reason 
for not using the same type of interface every other shell program does. I 
can't imagine why.

Eric
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic