- 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

@ -14,6 +14,9 @@
<rewriteURI uriStartString="http://www.FreeBSD.org/XML/www/lang/"
rewritePrefix="../../"/>
<public
publicId="-//FreeBSD//ENTITIES FreeBSD Language Specific Entities//EN"
uri="l10n.ent" />
<public
publicId="-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//EN"
uri="entities.ent" />

View file

@ -1,10 +1,7 @@
<!-- $FreeBSD$ -->
<!ENTITY % l10n PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
"l10n.ent">
%l10n;
<!ENTITY % freebsd PUBLIC "-//FreeBSD//ENTITIES DocBook Miscellaneous FreeBSD Entities//EN"
"../../../share/xml/freebsd.ent">
"nonexistent">
%freebsd;
<!ENTITY % teams PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//EN"
"teams.ent">
@ -16,8 +13,8 @@
"newsgroups.ent">
%newsgroups;
<!ENTITY % trademarks PUBLIC "-//FreeBSD//ENTITIES DocBook Trademark Entities//EN"
"../../../share/xml/trademarks.ent">
"nonexistent">
%trademarks;
<!ENTITY % urls PUBLIC "-//FreeBSD//ENTITIES DocBook URL Entities//EN"
"../../../share/xml/urls.ent">
"nonexistent">
%urls;