Page 1 of 1

Extension for validation

Posted: Fri Sep 14, 2012 8:34 pm
by sverhagen
Hi,


We have some automation that includes a sort of "preprocessing step", where some DITA content is generated automatically. This preprocessing content has ID's so that it can be cross-referenced.

The content that I'm authoring in oXygen sometimes cross-references that preprocessing content by ID.

If I validate in oXygen, the preprocessing content is not (yet) available, so I'm getting validation errors. (Of course!)

I've gotten used to ignoring these specific validation errors, but I would like a way to suppress them. Is there anything in the API where my own extension could become part of the validation process, and take care of validating these specific cross-references?

Thanks a lot.

Kind regards, Sander.

Re: Extension for validation

Posted: Mon Sep 17, 2012 3:25 pm
by Radu
Hi Sander,

How exactly are you validating in Oxygen?
When validating an opened DITA topic, Oxygen does not check to see that cross references point to existing and valid targets.

This is only done when using the "Validate and check for completeness" action available in the DITA Maps Manager. Are you using this approach?

Regards,
Radu

Re: Extension for validation

Posted: Mon Sep 17, 2012 5:14 pm
by sverhagen
Radu wrote:This is only done when using the "Validate and check for completeness" action available in the DITA Maps Manager. Are you using this approach?

Yes, it's that check that I'm talking about! It's a large document with many cross-references, so I like that option to see if I didn't leave any bad cross-references behind...

Thanks, Sander.

Re: Extension for validation

Posted: Tue Sep 18, 2012 10:27 am
by Radu
Hi Sander,

Sorry, we have no API which would allow you to hook into the DITA Map "Validate and Check For Completeness" operation and provide your own way of resolving references.

Regards,
Radu