DITA and XMetaL Discussion
amy.kidd June 1, 2012 at 1:00 pm
Spell checker in XMetal does not call attention to joined words with markupJune 1, 2012 at 1:00 pmParticipants 3Replies 4Last Activity 10 years, 8 months ago
I am using XMetaL Author Enterprise 5.5 on Windows 7.
I have noticed the spell checker in XMetal does not call attention to joined words when one word is in a tag, and the other is not.
In the output, I see Theword and that is incorrect.
However, there are times when we DO want words to be joined like that, but in my experience, this is usually a problem and I have to catch this once the document is published.
For example, words such as product names might be marked up like this and that is OK:
Are there any settings to force the spell checker to notice joined words?
Does XMetaL 7.0 call attention to words joined like this?Derek Read June 1, 2012 at 4:34 pm
Reply to: Spell checker in XMetal does not call attention to joined words with markupJune 1, 2012 at 4:34 pm
No, such a feature does not exist in the software (as you describe it).
I think this would be a complex problem to resolve as a general feature (one that works for all schema). For the spell checker (or some other feature) to know when it is OK and when it is not might require knowledge of the schema (ie: which two elements or child elements should it do this for), the language (English, French, German, etc), specific business rules (including perhaps specific types of technical lingo), and maybe even a particular author's writing style. That isn't to say that it would be impossible, but I think it definitely would be a difficult problem to solve if we were to look into implementing something like this.
There are some companies that have add-ons for XMetaL Author to aid with writing. I'm not sure if they would help but you might check into it. These are primarily advertised as helping to create “[url=https://www.google.com/search?q=xmetal+simplified+english]simplified English[/url]”. Not exactly what you are looking for but perhaps worth looking into just in case.
Other strategies might be employed however, and that might include settings specific to a schema that always insert a space before, after, or inside (start and end) the content of particular elements. If you can come up with a list of such rules then that can be coded into the “pretty printing” rules for the schema you are using. This cannot be made selective based on written content however, this particular feature works based on element names.amy.kidd June 4, 2012 at 12:59 pm
Reply to: Spell checker in XMetal does not call attention to joined words with markupJune 4, 2012 at 12:59 pm
Thank you for responding and explaining.
My HTML editor would operate this way, so I anticipated the XML editor to check spelling and catch missing spaces. I understand the complexity of solving the problem in a general way for XML, though.
Using a 3rd party tool to check spelling again does help, but unfortunately, it adds additional work. I was just hoping to not have to duplicate the spell checking.
In the future it would be nice to see a setting in spellchecker rules to select. For example, “Check for omitted spaces between text and marup.” or “Check for joined words including markup.”
Thanks.Derek Read June 4, 2012 at 4:30 pm
Reply to: Spell checker in XMetal does not call attention to joined words with markupJune 4, 2012 at 4:30 pm
HTML is simpler (in that there are a fixed number of elements) but not necessarily straightforward either I don't think. I'd be interested to know which editor you were using just to have a look and see what it did.
If you have not considered the prettying printing settings I suggested that is still something to look into. Depending on your schema this might make sense or it might not. These settings are controlled in the CTM file used by your XMetaL customization, so you would likely want to ask the person that created the customization for your schema to do that work. Scripting could also help here, but again, that would probably need to be specifically coded for your particular schema by the people that created your customization.amy.kidd June 5, 2012 at 1:29 pm
Reply to: Spell checker in XMetal does not call attention to joined words with markupJune 5, 2012 at 1:29 pm
I used Dreamweaver CS3's spell checker. As I think more about this, I believe this spellchecker is only checking text in the 'preview' window. It appears this behavior is similar to what you have mentioned about pretty printing. Thank you again for your earlier suggestion about looking into the settings in the CTM file.
- You must be logged in to reply to this topic.