mirror of
https://github.com/docling-project/docling-core.git
synced 2026-11-18 20:27:00 +00:00
* chore(doclang): switch to suppressing namespace and version by default Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): align with DocLang 0.4 - Align DocLang serialization/deserialization with the doclang 0.4 schema (`<label value>`, `<layer value>`, `<href uri>`, `<src uri>`, element-head property order). - Auto-wrap orphan key/value markup in `<field_item>` / `<field_region>` when the document tree is missing those containers. - Add optional `doclang-validation` extra and `verify_doclang()` so golden tests also pass the reference `doclang` validator. - Refresh `.dclg.xml` fixtures and add coverage for hyperlinks, field-region wrapping, and known incompat output under `test/data/doc/incompat/`. - Pin emitted DocLang version to 0.4 and defer `<layer>`-related expectations until doclang 0.5. Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): [WIP] add basic virtual `<text>` support Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): [WIP] add virtual `<text>` support Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): extend virtual `<text>` support, unify el. head parsing Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): align code/picture labels to DocLang, add LabelMode Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): emit bare `<value>` for read-only field values Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): [WIP] align with DocLang v0.5 - Bump doclang validation to 0.5 and enable <layer> emission. - Align open-tag shapes with the recommended vocabulary: bare <heading>/<field_heading> at level 1, bare <list> for unordered lists. - Add field_heading deserializer support and remove deferred layer xfails. Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): add `<rtl>`/`<corn>`/`<xcel>` coverage - Emit <rtl> for RTL script text via get_text_direction() - Emit <corn> for row/column header intersection cells - Fix OTSL span tokens so <xcel> only appears at interior continuations - Add rtl/corn/xcel golden tests; defer multi-prov threading test to P2 Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * chore(doclang): [WIP] drop legacy vocabulary - Remove non-spec tokens (`section`, `watermark`, `time_break`, `facets`, `meta`, `uri`) and `GROUP@type` / `TABLE@class` from vocabulary - Reject `class` on `<table>` at deserialize time; resolve label from `<table>` vs `<index>` only - Drop legacy `class="data"` / `class="index"` table parsing paths and update deserializer tests accordingly - Tighten `WRAP_WHEN_NEEDED` comment to include embedded newlines Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> --------- Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
12 lines
116 B
XML
Vendored
12 lines
116 B
XML
Vendored
<doclang>
|
|
<table>
|
|
<fcel/>
|
|
A
|
|
<lcel/>
|
|
<nl/>
|
|
<ucel/>
|
|
<xcel/>
|
|
<nl/>
|
|
</table>
|
|
</doclang>
|