[aXSL-commit] SF.net SVN: axsl:[3334] trunk/axsl/axsl-00-dev/doc/we b/dtds/0.1/en/axsl-dictionary.d
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-07-22 17:30:39
|
Revision: 3334
http://sourceforge.net/p/axsl/code/3334
Author: victormote
Date: 2026-07-22 17:30:36 +0000 (Wed, 22 Jul 2026)
Log Message:
-----------
Add "allow-duplicates" attribute to axsl-dictionary element, to better control duplicate word values.
Modified Paths:
--------------
trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd
Modified: trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd
===================================================================
--- trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd 2026-07-22 13:48:49 UTC (rev 3333)
+++ trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd 2026-07-22 17:30:36 UTC (rev 3334)
@@ -165,6 +165,17 @@
word in the dictionary.
For languages where the hyphen character (both hard and soft) is "-", the
recommended value for this attribute is "=".
+8. allow-duplicates: Set to "true"" to allow "w" elements that have the same
+normalized text values but are not elements within an ambiguous-word element.
+The implied value is "false."
+If set to "false," parsers should flag duplicate values with an exception.
+If set to "true," any actual duplicates not within an ambiguous-word element
+are subject to implementation-dependent handling.
+For example, some implementations may use the first of the duplicates, others
+may use the last.
+In general, this value should be set to "false" if possible, but a "true" value
+may be helpful when building a dictionary, especially if components are coming
+from different sources, and differences need to be resolved.
-->
<!ATTLIST axsl-dictionary
id CDATA #REQUIRED
@@ -174,6 +185,7 @@
epoch CDATA #IMPLIED
soft-hyphen-char CDATA #REQUIRED
hard-hyphen-char CDATA #REQUIRED
+ allow-duplicates %boolean; #IMPLIED
>
<!--
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|