Capitains / HookTest

Testing script for Hook
Mozilla Public License 2.0
3 stars 3 forks source link

@xml:lang not read from <text> #111

Closed Jean-Baptiste-Camps closed 7 years ago

Jean-Baptiste-Camps commented 7 years ago

Testing a corpus with Hooktest, I got the error Correct xml:lang attribute when using @xml:base on :

<text xml:lang="xno" n="urn:cts:froLit:geste.4006.geste_transcr_P4">

Moving all to body/@n solved the problem:

<body n="urn:cts:froLit:geste.4006.geste_transcr_P4" xml:lang="xno">

It might be that HookTest does not look on for @xml:lang, perhaps ?

PonteIneptique commented 7 years ago

Change s been proposed in #112