lcMatching2 sample does not validate

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
expatriate
Posts: 39

lcMatching2 sample does not validate

Wed Mar 08, 2017 5:41 pm

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: 5096

Re: lcMatching2 sample does not validate

Thu Mar 09, 2017 10:07 am

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: 5096

Re: lcMatching2 sample does not validate

Mon Oct 02, 2017 2:53 pm

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

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests