← Prev in month ← Prev in thread

Errors in XLIFF 2.1 Test Suite files

From
Rodolfo M. Raya <>
Date
2019-04-06T21:03:45+00:00
ID
[email protected]
Thread
Errors in XLIFF 2.1 Test Suite files
Hello,

 

There are XLIFF files with errors in the “/valid” directories of the Test Suite for XLIFF 2.1

 

Errors found with XLIFF Manager:

 

core/valid/allExtensions.xlf -> Missing <sc/> element with id="1" referenced by <ec/>

core/valid/withModulesAttributesInEc.xlf -> Missing <sc/> element with id="2" referenced by <ec/>

core/valid/withReferences.xlf -> Invalid fragment identifier '#f=f2/u=u1/n=n1' in comment annotation

 

modules/valid/Good-mtc_reference-lang.xlf -> Different "xml:lang" in <target>

modules/valid/Good-slr_equivStorage-ec-not-isolated.xlf -> Missing <sc/> element with id="ec" referenced by <ec/>

modules/valid/Good-slr_sizeInfo-not-with-sizeInfoRef.xlf -> Missing <sc/> element with id="e1" referenced by <ec/>

modules/valid/Good-slr_sizeInfoRef-ec-isolated.xlf -> Missing <sc/> element with id="e1" referenced by <ec/>

modules/valid/Goodslr_sizeRestriction-isolated.xlf -> Missing <sc/> element with id="i-ec-yes" referenced by <ec/>

 

Errors found using XLIFF Schematron files:

 

core/valid/allExtensions.xlf --> 'isolated' attribute is set to 'yes', but the corresponding 'sc' element, out of the 'unit' with 'id=2', was not found. The start code must appear before the end code, but in the same 'file'.

core/valid/everything-core.xlf --> 'canDelete' attribute is set to 'no', but the corresponding element is missing in the sibling target.

core/valid/withModulesAttributesInEc.xlf --> 'isolated' attribute is set to 'yes', but the corresponding 'sc' element, out of the 'unit' with 'id=1', was not found. The start code must appear before the end code, but in the same 'file'.

core/valid/withNotes.xlf --> 'canCopy' attribute is not matching with the 'canCopy' attribute of the corresponding 'ec' element (out of 'unit' with 'id=1').

core/valid/withNotes_complex.xlf --> 'canCopy' attribute is not matching with the 'canCopy' attribute of the corresponding 'ec' element (out of 'unit' with 'id=1').

 

modules/valid/Good-slr_equivStorage-ec-not-isolated.xlf --> 'isolated' attribute is set to 'yes', but the corresponding 'sc' element, out of the 'unit' with 'id=u2', was not found. The start code must appear before the end code, but in the same 'file'.

modules/valid/Good-slr_sizeInfo-not-with-sizeInfoRef.xlf --> 'isolated' attribute is set to 'yes', but the corresponding 'sc' element, out of the 'unit' with 'id=u1', was not found. The start code must appear before the end code, but in the same 'file'.

modules/valid/Good-slr_sizeInfoRef-ec-isolated.xlf --> 'canCopy' attribute is not matching with the 'canCopy' attribute of the corresponding 'ec' element (out of 'unit' with 'id=sm1').

modules/valid/Goodslr_sizeRestriction-isolated.xlf --> 'isolated' attribute is set to 'yes', but the corresponding 'sc' element, out of the 'unit' with 'id=u1', was not found. The start code must appear before the end code, but in the same 'file'.

modules/valid/withNotes_complex_for_ITS_Processors.xlf --> 'canCopy' attribute is not matching with the 'canCopy' attribute of the corresponding 'ec' element (out of 'unit' with 'id=1').

 

I got this warning in the log for a couple of files when processing with XLIFF Manager:

 

WARNING: 18:21 schema_reference.4: Failed to read schema document 'file:/C:/Users/bryans/Desktop/presentations/schnabel_demos_under-construction/XLIFF2.0-utils/XLIFF2.0/xliff-core-v2.0-csprd03/schemas/xliff_core_2.0.xsd'

 

Regards,

Rodolfo 

--

Rodolfo M. Raya       

Maxprograms      https://www.maxprograms.com
← Prev in month ← Prev in thread