[oXygen-user] Looking for way to disable 'Key reference' validation error

Oxygen XML Editor Support support at oxygenxml.com
Thu Nov 8 00:55:31 CST 2012


Hi Aaron,

I understand the problem.
When the DITA Map is checked, the validation is correct, those keys are 
not defined anywhere.
We do not have any API to filter some errors from being shown, the 
Validate and Check for Completeness is done entirely in the Java code. 
The best you could do after the validation would be to sort the results 
by "Type" and remove the problems you do not want to look at.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 11/7/2012 10:58 PM, Aaron Claypoole wrote:
> When validating a ditamap currently we are getting a lot of ‘Key
> reference’ errors.  In our current environment they are to be expected
> as they are related to glossary terms we haven’t ‘hooked’ up yet.
>
>
> Is there any way to filter out these errors when running the validate
> operation on the ditamap from the ‘DITA Maps Manager’? Is there an
> extension or something that can be added?  I checked to see if it was
> being output based on any of the schematron validation files but didn’t
> find anything.
>
> The type of error when copied from the ‘Errors’ tab is:
>
> System ID:
> C:\DEVELOPMENT\TCE_RESEARCH\LOGICAL_OPERATIONS\PRODUCTION_CONTENT\lo_092012\trunk\092012\lsn_01\intro.dita
>
> Engine name: oXygen
>
> Severity: error
>
> Description: Key definition "gloss_raster" not found in the DITA Map
> context.
>
> Type: Key reference
>
> Start location: 10:27
>
> End location: 10:55
>
> Any insight would be greatly appreciated.
>
> -Aaron Claypoole
>
> Description: LO_email-sig-logo96
>
> **
>
> *Aaron Claypoole*
>
> Senior Software Engineer
>
> aaron.claypoole at logicaloperations.com
> <mailto:aaron.claypoole at logicaloperations.com>
>
> www.logicaloperations.com <http://www.logicaloperations.com/>
>
> 500 Canal View Blvd. | Rochester, NY 14623
>
> (W) +1.585.350.7021
>
>
> cid:image002.png at 01CD6690.14C067D0
> <http://www.linkedin.com/company/2539101?trk=tyah>cid:image003.png at 01CD6690.14C067D0
> <https://twitter.com/logicalops>
>
> This email message is for the sole use of the intended recipient(s) and
>
> may contain confidential and privileged information. Any unauthorized
>
> review, use, disclosure or distribution is prohibited. If you are not the
>
> intended recipient, please contact the sender by reply email and destroy
>
> all copies of the original message and any attachment.
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list