FODT Validation

Michael Stahl mst at libreoffice.org
Fri Mar 1 13:49:49 UTC 2019


On 01.03.19 12:31, Michael H wrote:
> Re: Recent mention of ODF Validator
> 
> Is there a validator for FODT files?  Can the ODF Validator be upgraded 
> to include the flat format?

not that i'm aware of; probably (it has a bunch of interfaces and 
subclasses already).

> Failing custom built fodt: 
> https://drive.google.com/open?id=1BPAJqGTFmeNLb80PRKcfcGt_4Qwy136p
> 
> Similar template file that loads. fodt: 
> https://drive.google.com/open?id=18T9nEKt8bjckin0d7iYRuI4FEDhSFOVI
> 
> And an example file with actual text in it: (This file includes 
> copyrighted material released under a Creative commons license. this 
> snippet doesn't include the license.) 
> https://drive.google.com/open?id=1LZvBC_xWUQ_neBhwXgh4FbIvxsAqs6ae
> 
> There is only 1 change to a scaling factor on 1 font setting difference 
> between them.  This specific style is the default style, but I can't 
> figure out what fails.
> 

LO built with --enable-dbgutil prints this:
...PT-9.4-11.9x24-w.fodt line 51]: Attribute style:text-scale redefined

probably a duplicate attribute.

you can find those with the xmllint tool.


More information about the LibreOffice mailing list