- Define l10n.ent as an entity in localized directories and make them be

picked up via XML catalog in freebsd50.ent or xhtml10-freebsd.dtd,
  not entities.ent.  The L10N entities always come first to be able to
  override everything.

- Define   as   in EUC-JP encoding.  This is a workaround to
  prevent an invalid character in EUC-JP caused by converting 0xa0 in
  UTF-8 (EUC-JP does not allow 0xa0) in XSLT processing.  Theoretically
  it should be   still in the final XML output.

- Make XML catalog resolution consistent for l10n.ent.  This should be
  revisited for the others later.
This commit is contained in:
Hiroki Sato 2013-11-11 06:52:59 +00:00
parent 13ebce2b52
commit db0b08db8f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43161
44 changed files with 114 additions and 112 deletions

View file

@ -22,13 +22,13 @@
%autogen.ent;
<!ENTITY % l10n.ent
PUBLIC "-//FreeBSD//ENTITIES FreeBSD L10N Entities//EN"
"http://www.FreeBSD.org/XML/www/lang/share/xml/l10n.ent">
PUBLIC "-//FreeBSD//ENTITIES FreeBSD Language Specific Entities//EN"
"http://www.FreeBSD.org/XML/www/share/xml/l10n.ent">
%l10n.ent;
<!ENTITY % l10n-common.ent
PUBLIC "-//FreeBSD//ENTITIES FreeBSD L10N Common Entities//EN"
"http://www.FreeBSD.org/XML/www/share/xml/l10n.ent">
PUBLIC "-//FreeBSD//ENTITIES FreeBSD FreeBSD Language Specific Common Entities//EN"
"http://www.FreeBSD.org/XML/www/share/xml/l10n-common.ent">
%l10n-common.ent;
<!ENTITY % common.ent