openpreserve / odf-validator

Open source Open Document Format (ODF) validation
http://odf.openpreservation.org/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Not giving proper error for macro #35

Closed dewhattens closed 11 months ago

dewhattens commented 11 months ago

APP-1: [INFO] Validating D:\ODS1\TestCorpus\ODS_8\WithMacros.ods. APP-4: [INFO] Validation report for D:\ODS1\TestCorpus\ODS_8\WithMacros.ods. DOC-3: mimetype [INFO] OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 4146: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "xhtml:about", "xhtml:content", "xhtml:datatype", "xhtml:property" o r "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 4385: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 4791: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 4916: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 5190: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "table:number-matrix-r ows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype", "xhtml:property " or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 5368: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 5493: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 5785: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 5910: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 6202: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 6327: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 6619: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 6744: attribute "calcext:value-type" not allowed here; expected attri bute "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix-columns-spanned", "tabl e:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:content", "xhtml:datatype" , "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 6873: attribute "calcext:value-type" not allowed here; expected attri bute "office:string-value", "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix- columns-spanned", "table:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:con tent", "xhtml:datatype", "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 7150: attribute "calcext:value-type" not allowed here; expected attri bute "office:string-value", "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix- columns-spanned", "table:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:con tent", "xhtml:datatype", "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 7427: attribute "calcext:value-type" not allowed here; expected attri bute "office:string-value", "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix- columns-spanned", "table:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:con tent", "xhtml:datatype", "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 7704: attribute "calcext:value-type" not allowed here; expected attri bute "office:string-value", "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix- columns-spanned", "table:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:con tent", "xhtml:datatype", "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 7981: attribute "calcext:value-type" not allowed here; expected attri bute "office:string-value", "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix- columns-spanned", "table:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:con tent", "xhtml:datatype", "xhtml:property" or "xml:id". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 8258: attribute "calcext:value-type" not allowed here; expected attri bute "office:string-value", "table:content-validation-name", "table:formula", "table:number-columns-repeated", "table:number-columns-spanned", "table:number-matrix- columns-spanned", "table:number-matrix-rows-spanned", "table:number-rows-spanned", "table:protect", "table:protected", "table:style-name", "xhtml:about", "xhtml:con tent", "xhtml:datatype", "xhtml:property" or "xml:id". NOT VALID, 19 errors, 0 warnings and 1 info messages.