|
From: <las...@Su...> - 2001-05-24 14:06:43
|
Dan Mueth wrote: > = > On 22 May 2001, Karl Eichwalder wrote: > = > > L=E1szl=F3 Kov=E1cs <las...@su...> writes: > > > > > > (now we moved to XML and UTF-8 so this is history) > > > Happy people:-) I wonder if it could be made history for Gnome too.= > > > > No need to "move" -- just delegate: > > > > Don't install SGML files but "convert" them at installation time = to > > XML (sgmlnorm and s2x can do wonders). Proposed earlier by me. > = > Karl - Thanks for the suggestion :) > = > This may be a really nice way to circumvent the encoding issues and > support SGML documents without much work. > = > Does anybody know exactly what happens w/r/t encodings when we do > something like: > sgml2xml -b UTF-8 foo.sgml > foo.xml > = > It looks like this uses the encoding detection in SP to convert from an= > arbitrary unknown encoding to UTF? > = > Does anybody see any problems with using a call like this in ScrollKeep= er > to convert any SGML docs to XML for further processing by libxml2/xslt = in > ScrollKeeper? > = > This way we can keep our SGML support without having to do much work or= > add bloat to ScrollKeeper or libxml2. > = > Dan I tried to build OpenSP on both Solaris and Linux and I failed because of some C++ related problem coming from the source. = On the other hand sgml2xml seemed extremely poorly documented, I couldnt really figure out how to use it. Maybe it needs more looking. If the SGML encoding issue takes a long time to be sorted, we might want to consider separate releases for SGML and XML i18n support. The i18n improvements work for XML that I worked on was finished a couple of days ago and the SGML encoding issue is the only remaining problem right now. Laszlo |