#158 <exemplum> without @xml:lang

Ian Rons

The use of <exemplum> without a specific @xml:lang in an ODD causes Roma to fail to output that example in the documentation. Considering an example where the ODD <exemplum> inherits @xml:lang="en", if there is already an existing <exemplum xml:lang="en"> in the TEI documentation that Roma compiles against, that example isn't output either.


  • Ian Rons

    Ian Rons - 2010-01-28

    I'm also seeing namespaces being added to the examples, e.g.
    <val>20 × 30 mm</val>
    <val xmlns:sch="http://purl.oclc.org/dsdl/schematron"
    xmlns:ns182="http://www.tei-c.org/ns/1.0">20 × 30 mm</val>

  • Lou Burnard

    Lou Burnard - 2010-02-01
    • milestone: --> ROMA
    • assigned_to: nobody --> rahtz
  • Lou Burnard

    Lou Burnard - 2010-02-01

    Roma uses stylesheets which contain a small number of TEI-specific features to cope with the way the P5 source is organized, one of which is the need to select examples for output by xml:lang. It's possible that the rules for inheritance of xml:lang values are not being properly processed by the stylesheets, however, since in the P5 context they would never be of any use (because every exemplum has siblings in several languages). The namespace issue is different however, and should probably be in a separate ticket.

  • Ian Rons

    Ian Rons - 2010-02-03
    • status: open --> closed
  • Sebastian Rahtz

    Sebastian Rahtz - 2010-02-07

    I have changed the rules so that <exemplum> with no language tag will generate documentation.

    The namespace decls are more puzzling. Where do you need these, please?

  • Sebastian Rahtz

    Sebastian Rahtz - 2010-02-07
    • status: closed --> open-accepted
  • Sebastian Rahtz

    Sebastian Rahtz - 2010-02-07
    • status: open-accepted --> closed-accepted

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks