[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Problems validating XLIFF files with 2.0 schemas
Hi all,
I'm sure I'm doing something wrong, but I can't validate XLIFF 2.0 with Oxygen without getting errors in the schemas files. I have xliff_core_2.0.xsd and in a modules folder I have: change_tracking.xsd, glossary.xsd, matches.xsd, metadata.xsd, resource_data.xsd, size_restriction.xsd, and
validation.xsd. All files comes from the links found in the csprd02 specification. The lines below are some of the errors I'm getting. Any ideas? Thanks -yves System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve.4.2: Error resolving component 'fs:fs'. It was detected that 'fs:fs' is in namespace 'urn:oasis:names:tc:xliff:fs:2.0', but components from
this namespace are not referenceable from schema document 'file:/C:/Users/ysavourel/Downloads/xliff2/xliff_core_2.0.xsd'. If this is the incorrect namespace, perhaps the prefix of 'fs:fs' needs to be changed. If this is the correct namespace, then an appropriate
'import' tag should be added to 'file:/C:/Users/ysavourel/Downloads/xliff2/xliff_core_2.0.xsd'. Start location: 125:49 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'fs:fs' to a(n) 'attribute declaration' component. Start location: 125:49 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 127:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 128:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 129:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 130:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 167:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 168:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 169:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 170:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 201:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 202:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 203:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 204:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: s4s-elt-invalid-content.1: The content of '#AnonType_note' is invalid.
Element 'attribute' is invalid, misplaced, or occurs too often. Start location: 272:49 System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 330:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 331:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:equivStorage' to a(n) 'attribute declaration' component. Start location: 332:60 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 333:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 334:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:equivStorage' to a(n) 'attribute declaration' component. Start location: 357:60 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 358:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 359:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:equivStorage' to a(n) 'attribute declaration' component. Start location: 379:60 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 380:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 381:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 408:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 409:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:equivStorage' to a(n) 'attribute declaration' component. Start location: 410:60 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfo' to a(n) 'attribute declaration' component. Start location: 411:56 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeInfoRef' to a(n) 'attribute declaration' component. Start location: 412:59 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 436:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 437:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:storageRestriction' to a(n) 'attribute declaration' component. Start location: 452:66 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: src-resolve: Cannot resolve the name 'slr:sizeRestriction' to a(n) 'attribute declaration' component. Start location: 453:63 URL: http://www.w3.org/TR/xmlschema11-1/#src-resolve System ID: C:\Users\ysavourel\Downloads\xliff2\modules\metadata.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: s4s-att-invalid-value: Invalid attribute value for 'type' in element 'attribute'. Recorded reason: UndeclaredPrefix: Cannot resolve 'xlf:appliesTo' as a
QName: the prefix 'xlf' is not declared. Start location: 38:81 System ID: C:\Users\ysavourel\Downloads\xliff2\modules\metadata.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: s4s-att-invalid-value: Invalid attribute value for 'type' in element 'attribute'. Recorded reason: UndeclaredPrefix: Cannot resolve 'xlf:attrType_type'
as a QName: the prefix 'xlf' is not declared. Start location: 44:80 System ID: C:\Users\ysavourel\Downloads\xliff2\modules\change_tracking.xsd Main validation file: C:\Dev\OkapiXLIFF\master\trunk\deployment\maven\data\xliff-lib\samples\example.html.xlf Schema: C:\Users\ysavourel\Downloads\xliff2\xliff_core_2.0.xsd Engine name: Xerces Severity: error Description: s4s-att-invalid-value: Invalid attribute value for 'type' in element 'attribute'. Recorded reason: UndeclaredPrefix: Cannot resolve 'xlf:appliesTo' as a
QName: the prefix 'xlf' is not declared. Start location: 31:77 |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]