Re: doc-i18n-tool
- From: Daniel Veillard <veillard redhat com>
- To: Gregory Leblanc <gleblanc linuxweasel com>
- Cc: Jonathan Blandford <jrb redhat com>,Darin Adler <darin bentspoon com>, gnome-doc-list gnome org,gnome-i18n gnome org
- Subject: Re: doc-i18n-tool
- Date: Mon, 22 Oct 2001 16:09:20 -0400
On Mon, Oct 22, 2001 at 12:48:47PM -0400, Gregory Leblanc wrote:
> On Mon, 2001-10-22 at 15:23, Jonathan Blandford wrote:
> > > Hum, I will let Jonathan check this one.
And for a reason ... that's where it belongs !
> > My plan was to use xmllint for this. In my example, I ran the doc
> > through xmllint --noblanks before passing it to doc-i18n-tool. I don't
> > think doing anything else is worth doing.
Wrong it's not the right place
> I did. It doesn't appear to work to remove those. The above snippit is
> from policies.pot, generated with the command 'xmllint --noblanks
> |doc-i18n-tool --output-pot-file policies.xml > file.pot'. policies.xml
> is gnome-docu/gnome-org-policies/policies.xml.
--noblanks removes *formatting* blanks !
<a> <b/> </a> => <a><b/></a>
<a><b> </b></a> is not modified !
You need to process this at the string handling level !
Commit this somewhere in CVS even if it need a new bogo module if nobody
accepts this. I cannot comment or work on code "in the air" !
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]