lcMatching2 sample does not validate

Having trouble installing Oxygen? Got a bug to report? Post it all here.
expatriate
Posts: 39
Joined: Wed Dec 31, 2008 12:42 am

lcMatching2 sample does not validate

Post by expatriate »

I've had some difficulties writing a DITA 1.3 Learning and Training "Matching" question.

The syntax of lcMatching2 isn't exactly easy to begin with, so I tried using the OASIS sample at http://docs.oasis-open.org/dita/dita/v1 ... hing2.html as a model. Using the latest oXygen it doesn't validate, with the following message: "The number of cells in the row (2) is less than the number of columns detected from the table structure (3)".

The message looks fair enough to me, and there are certainly typos in other OASIS L&T samples. Is this one correct, or is oXygen's error message?

Cheers, Pat
Radu
Posts: 9451
Joined: Fri Jul 09, 2004 5:18 pm

Re: lcMatching2 sample does not validate

Post by Radu »

Hi Pat,

Good question. We are not very familiar with learning elements.
The <lcMatchTable2> is derived from a simpletable so Oxygen has a special table validation checker which tries to validate it is a table.
In this case the validation complains that the header <lcMatchingHeader2> has two cells while each <lcMatchingPair2> row has 3 cells.
At the same time the <lcMatchingHeader2> does not seem to allow more than two items inside according to the specs.
So according to the specs the example looks properly constructed, meaning that probably the Oxygen table checker should no longer issue any error in this case. I will add an internal issue about this and see what we can do.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9451
Joined: Fri Jul 09, 2004 5:18 pm

Re: lcMatching2 sample does not validate

Post by Radu »

Hi,

We released Oxygen 19.1 a couple of days ago and it should no longer report any error in the situation you described above.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply