Extension for validation

Oxygen general issues.
sverhagen
Posts: 18
Joined: Wed May 23, 2012 8:53 am
Location: Portland, Oregon

Extension for validation

Post 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.
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Extension for validation

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
sverhagen
Posts: 18
Joined: Wed May 23, 2012 8:53 am
Location: Portland, Oregon

Re: Extension for validation

Post 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.
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Extension for validation

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply