Testing for comments within ODF
created by Kane Valentine on 2017-10-06 11:11:05.242988 UTC
template template.odt
<office:styles>
</office:styles>
<office:text>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo ipsum ut ligula aliquet, eu aliquam velit mattis. Etiam luctus aliquet mauris vel vehicula. Nam a luctus nisl, eu faucibus nisi. Phasellus tincidunt turpis non elit vulputate laoreet sed id dui. Aenean eu justo imperdiet, commodo nisl nec, vehicula dolor. Donec sagittis mi eget ante pretium rhoncus. Donec velit arcu, dignissim nec ornare id, bibendum ut nulla. Quisque interdum at nulla eget interdum. Mauris nulla sapien, mattis quis nibh tincidunt, tristique pharetra massa. Donec tortor enim, pulvinar sed laoreet nec, iaculis in libero. Vestibulum porttitor luctus nunc, eget sollicitudin ante tincidunt quis. Quisque elementum sodales egestas.
<office:annotation>
<dc:creator>Unknown Author</dc:creator>
<dc:date>2017-10-06T12:06:56.398211386</dc:date>
<text:p text:style-name="P2">
<text:span text:style-name="T1">This is a comment. Does it work?</text:span>
</text:p>
</office:annotation>
</text:p>
<text:p text:style-name="P1"/>
</office:text>
Tested versions: 1.0 1.1 1.2 1.2 Extended
input file | Abiword 3.0.1 GNU/Linux 3.16.0-4-amd64 | Abiword 3.0.1 GNU/Linux 4.9.36 | Docs | Word 2016 Microsoft Windows 10 Pro 10.0.15063 | Word 2016 Microsoft Windows Server 2012 R2 Standard 6.3.9600 | Words 2.9.7 GNU/Linux 3.16.0-4-amd64 | Words 2.9.7 GNU/Linux 4.9.36 | Words 3.0.1 GNU/Linux 3.16.0-4-amd64 | Words 3.0.1 GNU/Linux 4.9.36 | Writer 4.1.3 Microsoft Windows 10 Pro 10.0.15063 | Writer 5.2.5.1 GNU/Linux 3.16.0-4-amd64 | Writer 5.2.5.1 GNU/Linux 3.16.0-4-amd64 | Writer 5.2.5.1 GNU/Linux 3.16.0-4-amd64 | Writer 5.4.1.2 GNU/Linux 3.16.0-4-amd64 | Writer 5.4.1.2 GNU/Linux 3.16.0-4-amd64 | Writer 5.4.1.2 GNU/Linux 3.16.0-4-amd64 | Writer 5.4.1.2 GNU/Linux 4.9.36 | Writer 5.4.1.2 GNU/Linux 4.9.36 | Writer 5.4.1.2 GNU/Linux 4.9.36 | Writer 6.2 Microsoft Windows Server 2016 Standard 10.0.14393 | Writer 6.2 Microsoft Windows Server 2016 Standard 10.0.14393 | Writer 6.2 Microsoft Windows Server 2016 Standard 10.0.14393 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODF | OpenDocument Text 1.2 Extended | OpenDocument Text 1.1 | OpenDocument Text 1.1 | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 | OpenDocument Text 1.1 | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 | OpenDocument Text 1.1 | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 | OpenDocument Text 1.1 | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 | OpenDocument Text 1.1 | OpenDocument Text 1.2 Extended | OpenDocument Text 1.2 |
test result | pass | pass | pass | no result | pass | pass | pass | pass | pass | no result | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
is the test correct? | |||||||||||||||||||||||
validation errors | 3 | 10 | 10 | 0 | 1 | 5 | 5 | 6 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
content.xml | |||||||||||||||||||||||
count(//office:annotation)=1 | true | true | true | true | - | true | true | true | true | true | - | true | true | true | true | true | true | true | true | true | true | true | true |
count(//dc:creator)=1 | true | true | true | true | - | true | true | true | true | true | - | true | true | true | true | true | true | true | true | true | true | true | true |
count(//dc:date)=1 | true | true | true | true | - | true | true | true | true | true | - | true | true | true | true | true | true | true | true | true | true | true | true |
content.xml | content.xml | content.xml | content.xml | content.xml | - | content.xml | content.xml | content.xml | content.xml | content.xml | - | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml | content.xml |
styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | styles.xml | ||
- | - | - | |||||||||||||||||||||
png | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |