lcMatching2 sample does not validate
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- 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
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
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: lcMatching2 sample does not validate
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: lcMatching2 sample does not validate
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service