Skip to content

Documentation wrong about example tag #1410

@TheOneWithTheBraid

Description

@TheOneWithTheBraid

The docs at https://www.odict.org/docs/xml/example show how an example tag should contain the full-text body as text node inside the <example>[...]</example> tag.

Nevertheless, odict compile complains about a missing value attribute of the example tags. If I move the example from a text node into an added value attribute such as <example value="[...]" /> it compiles without any error.

I'm unsure at that point whether the docs are wrong or whether that's a bug in the implementation. At least in all samples I see the text node version present.

Using odict v3.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions