[aXSL-commit] SF.net SVN: axsl:[3330] trunk/axsl/axsl-00-dev/doc/we b/dtds/0.1/en/axsl-spell-check-
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-07-18 16:04:16
|
Revision: 3330
http://sourceforge.net/p/axsl/code/3330
Author: victormote
Date: 2026-07-18 16:04:13 +0000 (Sat, 18 Jul 2026)
Log Message:
-----------
Remove element "foreign," whose purpose is satisfied with a "text" element.
Modified Paths:
--------------
trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-spell-check-input.dtd
Modified: trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-spell-check-input.dtd
===================================================================
--- trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-spell-check-input.dtd 2026-07-17 16:25:23 UTC (rev 3329)
+++ trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-spell-check-input.dtd 2026-07-18 16:04:13 UTC (rev 3330)
@@ -26,9 +26,11 @@
<!--
-Indicates which flow the descendant elements are in. Some documents have more than one flow. For example, many books
-have both a main flow and a footnote flow. When tracing the location of a spell-check flag, it is useful to know in
-which of these flows the flag was detected.
+Indicates which flow the descendant elements are in.
+Some documents have more than one flow.
+For example, many books have both a main flow and a footnote flow.
+When tracing the location of a spell-check flag, it is useful to know in which
+of these flows the flag was detected.
-->
<!ELEMENT flow (text | marker)*>
<!ATTLIST flow
@@ -47,12 +49,14 @@
Attributes:
1. "xml:lang" is used to determine which dictionary(ies) should be used for the
- spell-checking.
+ spell-checking. The implied value is the value of the same attribute on the
+ ancestor axsl-spell-check-input element.
2. "line" is the (optional) line number in the original document, if known.
3. "column" is the (optional) column number in the original document, if known.
-4. "xpath" is the (optional) xpath of the element in the original document, if known.
+4. "xpath" is the (optional) xpath of the element in the original document, if
+ known.
-->
-<!ELEMENT text (#PCDATA | word | foreign | marker)*>
+<!ELEMENT text (#PCDATA | word | marker)*>
<!ATTLIST text
xml:lang CDATA #IMPLIED
line CDATA #IMPLIED
@@ -79,7 +83,8 @@
spell-checking.
2. "line" is the (optional) line number in the original document, if known.
3. "column" is the (optional) column number in the original document, if known.
-4. "xpath" is the (optional) xpath of the element in the original document, if known.
+4. "xpath" is the (optional) xpath of the element in the original document, if
+ known.
-->
<!ELEMENT word (#PCDATA | marker)*>
<!ATTLIST word
@@ -91,36 +96,18 @@
<!--
-Marks a sequence of text as having a different writing system than the
-surrounding text.
-Such content does not mark the end of a processing segment, but only an
-interruption in it.
-
-Attributes:
-1. "xml:lang" is used to determine which dictionary(ies) should be used for the
- spell-checking.
-2. "line" is the (optional) line number in the original document, if known.
-3. "column" is the (optional) column number in the original document, if known.
-4. "xpath" is the (optional) xpath of the element in the original document, if known.
+A marker from an original document, that is, a document backing the semantic XML
+that is being parsed to create this spell-check document.
+This might be, for example, a page number in such a backing document.
+This is in distinction from the "line", "column", and "xpath" attributes, which
+give clues about the location of the original element in the original XML
+document.
+Marker elements are orthogonal to the text, word, and foreign elements, so they
+can occur in the middle of a word.
+This possibility must be considered by consumers of documents of this type to
+ensure that the entire word is considered for spell-checking instead of two
+fragments of the word.
-->
-<!ELEMENT foreign (#PCDATA | word | marker)* >
-<!ATTLIST foreign
- xml:lang CDATA #IMPLIED
- line CDATA #IMPLIED
- column CDATA #IMPLIED
- xpath CDATA #IMPLIED
->
-
-
-<!--
-A marker from an original document, that is, a document backing the semantic XML that is being parsed to create this
-spell-check document. This might be, for example, a page number in such a backing document. This is in distinction from
-the the "line", "column", and "xpath" attributes, which give clues about the location of the original element in the
-original XML document. Marker elements are orthogonal to the text, word, and foreign elements, so they can occur in the
-middle of a word. This possibility must be considered by consumers of documents of this type to ensure that the entire
-word is considered for spell-checking instead of two fragments of the word.
-
--->
<!ELEMENT marker EMPTY >
<!ATTLIST marker
value CDATA #REQUIRED
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|