[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 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

Re:  Schema-aware spell checker?
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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.