[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Possible breakage in koffice-ko to do with styles?
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2010-04-03 19:31:20
Message-ID: y2i56a746381004031231va28e9135s4dde17863fe97707 () mail ! gmail ! com
[Download RAW message or body]

On 31 March 2010 14:01, Shaheed <shaheedhaque@gmail.com> wrote:
> Hi,
>
> I just started working on koffice-ko, and noticed that filter test suite fails
> the validation test for each file like this:
>
> /tmp/tests/MSWord2003/mw03_alignment_text/styles.xml:27: element font-face-
> decls: Relax-NG validity error : Did not expect element font-face-decls there
> /tmp/tests/MSWord2003/mw03_alignment_text/styles.xml:27: element font-face-
> decls: Relax-NG validity error : Element document-styles has extra content:
> font-face-decls
>
> I *think* this might have been caused by the recent tidy-up of KoGenStyles in
> r1108989. I'm not familiar with this area,so it would be great if somebody
> could take a look.
>
> Thanks, Shaheed
>
> P.S. To run the tests, you'll need to do something like this:
>
>> cd tests/kofficetests/interoperability/kword
>> make
> ...
> all the temporary files end up in /tmp/tests
> ...
>> vim /tmp/tests/MSWord2003/mw03_alignment_text/content.xml

While I am willing to help, I am not (yet) sure where the correct fix
would be needed.
Both odf 1.0 and 1.1 RNG defines office-font-face-decls:

* http://www.oasis-open.org/committees/download.php/12571/OpenDocument-schema-v1.0-os.rng
* http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-schema-v1.1.rng

<define name="office-document-styles">
<element name="office:document-styles">
<ref name="office-document-common-attrs"/>
<ref name="office-font-face-decls"/>
<ref name="office-styles"/>
<ref name="office-automatic-styles"/>
<ref name="office-master-styles"/>
</element>
</define>

-- 
regards / pozdrawiam, Jaroslaw Staniek
 http://www.linkedin.com/in/jstaniek
 Kexi & KOffice (http://www.kexi-project.org, http://www.koffice.org)
 KDE Software Development Platform on MS Windows (http://windows.kde.org)
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic