[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Schema-aware spell checker?
- From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
- To: xml-dev@lists.xml.org
- Date: Thu, 13 Sep 2018 13:49:52 +0200
I’d be surprised if there were such a specialized tool.
What if you processed the schemas with XSLT so that you have a plain
text output that you can spellcheck in an editor or word processing
application? The rules which attributes to process and where to split
their contents (dashes, underscores, \p{Ll} followed by \p{Lu}, etc.)
should be quite straightforward to translate into XSLT templates.
Gerrit
On 13.09.2018 13:00, Costello, Roger L. wrote:
Hi Folks,
I was given a bunch of XML schema files. A cursory examination revealed spelling errors, as illustrated by this element declaration:
<xs:element name="repititionRate" type="t:RepetitionRate" />
Notice that the element name is misspelled (should be repetitionRate).
There are many schema files and some are quite lengthy; I'm sure that I would fail to catch all the spelling errors.
It would be nice if there was a tool that could automatically catch spelling errors. The tool would need to be pretty clever, I imagine. For example, it would need to detect that in this name:
t:RepetitionRate
the "t" is a namespace prefix and "RepetitionRate" is a two-part name consisting of "Repetition" (spelled correctly) and "Rate" (also spelled correctly). The tool would need to detect that in this name:
repititionRate
there is "repitition" (misspelled) and "Rate" (spelled correctly).
Does such a schema-aware spelling tool exist?
/Roger
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsieke@le-tex.de, http://www.le-tex.de
Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930
Geschäftsführer / Managing Directors:
Gerrit Imsieke, Svea Jelonek, Thomas Schmidt
----------------------------------------------
Warum wir dieses Jahr nicht auf der Frankfurter Buchmesse sind:
https://www.le-tex.de/de/stellungnahme_buchmesse-2018.html
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]