[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xml:lang iso639-2 / rfc3066 / rfc 1766 obsolete
- From: Daniel Veillard <veillard redhat com>
- To: Cory Nelson <phrosty gmail com>
- Cc: xml gnome org, Friedbert Wekerle <wekerle gmx de>
- Subject: Re: [xml] xml:lang iso639-2 / rfc3066 / rfc 1766 obsolete
- Date: Wed, 12 Dec 2007 08:45:05 -0500
On Wed, Dec 12, 2007 at 07:41:34AM -0600, Cory Nelson wrote:
> On Dec 12, 2007 1:18 AM, Daniel Veillard <veillard redhat com> wrote:
> > On Mon, Dec 10, 2007 at 04:42:13PM +0100, Friedbert Wekerle wrote:
> > > Dear wizzards of libxml,
> > >
> > > I'm missing the support of
> > >
> > > 'xml:lang="grc"'
> > >
> > > (Old greek)
> > >
> > > in libxml;
> > >
> > > I'm using version libxml2-2.6.30;
> > >
> > > For example, the the xerces-Parser accepts 3-letter language-Codes as valid ones.
> > >
> > > I found, rfc 3066 obsoletes rfc 1766
> > > (http://www.faqs.org/rfcs/rfc3066.html)
> > >
> > > Have I got a possibility of adding
> > > other languagecodes as valid ones,
> > > especially "grc" or removing the validation
> > > against the builtin enumeration of languagecodes?
> > > (without changing the data)
> >
> > you can define encoding aliases at the library level, yes
> > http://xmlsoft.org/html/libxml-encoding.html#xmlAddEncodingAlias
> >
> > in general iconv has a fairly extensive list of encoding supported and
> > and even longuer set of aliases (assuming you have a recent system and
> > libraries), and on my Linux system there is around 20 names for greek
> > encodings and aliases.
>
> He speaks of language codes (ie, en-US), not encodings.
What is the problem in practice ?
As far as I can tell xml:lang values are not checked anymore and
do not impact processing, I don't understand then.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]