Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#158 <exemplum> without @xml:lang

ROMA
closed-accepted
5
2010-02-07
2010-01-27
Ian Rons
No

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.

Discussion

  • Ian Rons
    Ian Rons
    2010-01-28

    I'm also seeing namespaces being added to the examples, e.g.
    <val>20 × 30 mm</val>
    becomes
    <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
     
  • 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?

     
    • status: closed --> open-accepted
     
    • status: open-accepted --> closed-accepted