acdh / cirilo

7 stars 1 forks source link

automatic TEI xml validation? #5

Open gaborpalko opened 10 years ago

gaborpalko commented 10 years ago

I test Cirilo client for some days now. To start the client you need Fedora index to be started. Check if in fedora.fcfg (Fedora/server/config) index level is set to "1"

  <comment>(required) 
        Index level. Currently, only 0, and 1 are supported levels. 
        0 = off and 1 = on.
        WARNING: changing the level (except to 0) requires 
        running the Resource Index Rebuilder.</comment>

If you change value before starting Fedora for the first time no rebuild is needed.

There is an issue with Java JDK 8, client starts but you can't save new objects nor define an environment: downgrade to JDK 7.

Issue: I can create new TEI type objects, I can replace DATASTREAMs (thumbnail, DC). If I try to add a TEI xml file as TEI_SOURCE the client checks if it is an xml (if not, if gives an error message). But if it is a valid xml, still it does not seem to accept it, the empty default TEI xml cannot be replaced. (If you use Fedora java client you can replace the TEI xml datastream without using Cirilo client.) Question: is there a TEI xml validation that uploaded files fail to conform to? Or more a technical problem?

Environment: Win7 64bit Java "1.7.0_65" Fedora version: 3.6.2 Quick install Cirilo version: 2.4.0

gaborpalko commented 10 years ago

sorry, github ommits the code inserted from fedora.fcfg

acdh commented 10 years ago

if you have selected “Execute TEI customization” in the preferences menu, the TEI stream is validated against a P5 schema before upload. If this checkbox is not selected, only the root element must be “TEI” in the namespace http://www.tei-c.org/ns/1.0


Mag. Dr. Hubert Johannes Stigler Center for Information Modeling Austrian Centre for Digital Humanities University Graz, Merangasse 70/E, 8010, Austria Phone: +43 316 380 2542 & +43 664 85 65 143

Von: luhpeg [mailto:notifications@github.com] Gesendet: Samstag, 06. September 2014 23:41 An: acdh/cirilo Betreff: [cirilo] automatic TEI xml validation? (#5)

I test Cirilo client for some days now. To start the client you need Fedora index to be started. Check if in fedora.fcfg (Fedora/server/config) index level is set to "1"

(required) Index level. Currently, only 0, and 1 are supported levels. 0 = off and 1 = on. WARNING: changing the level (except to 0) requires running the Resource Index Rebuilder.

If you change value before starting Fedora for the first time no rebuild is needed.

There is an issue with Java JDK 8, client starts but you can't save new objects nor define an environment: downgrade to JDK 7.

Issue: I can create new TEI type objects, I can replace DATASTREAMs (thumbnail, DC). If I try to add a TEI xml file as TEI_SOURCE the client checks if it is an xml (if not, if gives an error message). But if it is a valid xml, still it does not seem to accept it, the empty default TEI xml cannot be replaced. (If you use Fedora java client you can replace the TEI xml datastream without using Cirilo client.) Question: is there a TEI xml validation that uploaded files fail to conform to? Or more a technical problem?

Environment: Win7 64bit Java "1.7.0_65" Fedora version: 3.6.2 Quick install Cirilo version: 2.4.0

— Reply to this email directly or view it on GitHubhttps://github.com/acdh/cirilo/issues/5.