#7 Problems when running local installation of Roma

closed-works-for-me
nobody
1
2006-01-27
2005-12-29
Øyvind Eide
No

The roma installation runs on a linux server. The 'make
install' command worked.

I updated the roma script to get out some more debug
information:

hedvig ~/utv/Roma 66> diff bin/roma bin/roma_updated
20a21,25
> echo "xsltproc -o $N.compiled.odd \ > --stringparam TEIC $TEIC \ > --stringparam TEISERVER $TEISERVER \ > --stringparam localsource $LOCAL \ > $TEIXSLDIR/odds/odd2odd.xsl $ODD"
197a203
> echo "xsltproc
$TEIXSLDIR/odds/extract-schemaSpec-ident.xsl $1 | head -1"
hedvig ~/utv/Roma 67>

The input file ms.odd used below, from the example in
<http://www.tei-c.org/Drafts/edw88.xml.ID=body.1_div.1>,
is enclosed.

1. PROBLEMS WITH extract-schemaSpec-ident.xsl

oeide@grimus ~/utv/Roma $ bin/roma_updated
--xsl=/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9/p5
ms.odd
========= 2005-12-29 11:47:17 Roma starts, info:
Test for software: xmllint, xsltproc, trang, and perl
/local/bin/xmllint
/local/bin/xsltproc
/hf/hedvig/muspro-u1/oeide/utv/trang
/local/bin/perl
TEI stylesheet tree:
/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9/p5
xsltproc
/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9/p5/odds/extract-schemaSpec-ident.xsl
ms.odd | head -1
bin/roma_updated: line 205: N: Unable to ascertain
ident= of <schemaSpec>
oeide@grimus ~/utv/Roma $

This problem was solved by changing the ident
extraction xslt sheet - removing the tei namespace:

hedvig ~/utv/Roma 68> diff
tei-xsl-5.2.9/p5/odds/extract-schemaSpec-ident.xsl
tei-xsl-5.2.9-trixet/p5/odds/extract-schemaSpec-ident.xsl
28c28
< <xsl:for-each select=".//tei:schemaSpec">
---
> <xsl:for-each select=".//schemaSpec">
hedvig ~/utv/Roma 69>

I don't know if this is OK, but it brings me a bit
further...

2. PROBLEMS WITH 1. expand and simplify ODD

When using the adjusted stylesheet from above, I get a
little further:

oeide@grimus ~/utv/Roma $ bin/roma_updated
--xsl=/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9-trixet/p5
ms.odd
========= 2005-12-29 11:51:21 Roma starts, info:
Test for software: xmllint, xsltproc, trang, and perl
/local/bin/xmllint
/local/bin/xsltproc
/hf/hedvig/muspro-u1/oeide/utv/trang
/local/bin/perl
TEI stylesheet tree:
/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9-trixet/p5
xsltproc
/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9-trixet/p5/odds/extract-schemaSpec-ident.xsl
ms.odd | head -1
Results to: RomaResults
Process ms.odd to create
ms{.dtd|.xsd|.doc.xml|.rng|.rnc} in RomaResults
========= 2005-12-29 11:51:21.179114000 Roma starts,
execution:
using http://tei.oucs.ox.ac.uk/Query/ to access TEI
database
1. expand and simplify ODD
xsltproc -o ms.compiled.odd --stringparam TEIC true
--stringparam TEISERVER http://tei.oucs.ox.ac.uk/Query/
--stringparam localsource
/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9-trixet/p5/odds/odd2odd.xsl
ms.odd
2. make Relax NG from compiled ODD
3. make Relax NG compact from XML
fatal: file not found:
/hf/hedvig/muspro-u1/oeide/utv/Roma/RomaResults/ms.rng
(No such file or directory)

ERROR: trang conversion to RNC fails.
This was a fatal error. 2005-12-29 11:51:22.607593000
4. make XSD from Relax NG
fatal: file not found:
/hf/hedvig/muspro-u1/oeide/utv/Roma/RomaResults/ms.rng
(No such file or directory)

ERROR: trang fails.
This was a fatal error. 2005-12-29 11:51:26.325808000
5. make DTD from compiled ODD
========= 2005-12-29 11:51:26.703579000 Roma ends
oeide@grimus ~/utv/Roma $

When running the command in 1. expand and simplify ODD
alone, it looks like the problem is there:

oeide@grimus ~/utv/Roma $ xsltproc -o ms.compiled.odd
--stringparam TEIC true --stringparam TEISERVER
http://tei.oucs.ox.ac.uk/Query/ --stringparam
localsource
/hf/hedvig/muspro-u1/oeide/utv/Roma/tei-xsl-5.2.9-trixet/p5/odds/odd2odd.xsl
ms.odd
compilation error: file ms.odd line 1 element schemaSpec
xsltParseStylesheetProcess : document is not a stylesheet
oeide@grimus ~/utv/Roma $

Now I do not know what to do...

Please contact me if you need further input, or you
want me to try something!

Regards,

Øyvind Eide
oyvind.eide@muspro.uio.no

Discussion

  • Øyvind Eide
    Øyvind Eide
    2005-12-29

    The input ODD file.

     
    Attachments
  • Øyvind Eide
    Øyvind Eide
    2006-01-27

    • priority: 5 --> 1
    • status: open --> closed-works-for-me
     
  • Øyvind Eide
    Øyvind Eide
    2006-01-27

    Logged In: YES
    user_id=1403841

    Thw problem was not really in the Roma software, but in the
    documentation and/or my reading of it, leading me to give
    Roma uncorrect files as input.

    Everything expect XSD now works on Linux, everything but XSD
    and PDF documentation on solaris. The PDF problem is
    probabely because of old LaTeX installation.

    --

    Øyvind Eide