Prev: mkfs hasn't required library
Next: display limited to 1/4 of monitor after upgrade to sid, 2.6.32, grub 2
From: Hendrik Boom on 3 Jun 2010 16:30 I found an .odf validator online at http://opendocumentfellowship.com/ validator (upload a file and it tells you if it likes it), but it doesn't handle fodt. It complains it hasn't been compressed and packaged as a .zip file. Now surely it's *less* work to check .fodt, because you don'thave to do all that pesky unzipping, but ... Anyone know a validator that checks .fodt files? I'm generating my own .fodt and OpenOffice is crashing on it, so presumably there's something wrong. -- hendrik -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hu930t$2s9$1(a)dough.gmane.org
From: Camaleón on 3 Jun 2010 18:00 On Thu, 03 Jun 2010 20:23:58 +0000, Hendrik Boom wrote: > I found an .odf validator online at http://opendocumentfellowship.com/ > validator (upload a file and it tells you if it likes it), but it > doesn't handle fodt. It complains it hasn't been compressed and > packaged as a .zip file. Now surely it's *less* work to check .fodt, > because you don'thave to do all that pesky unzipping, but ... > > Anyone know a validator that checks .fodt files? I'm generating my own > .fodt and OpenOffice is crashing on it, so presumably there's something > wrong. You can choose any XML validators out there :-) http://www.w3.org/2001/03/webdata/xsv Also, if you open the file with a web browser (epiphany, iceweasel...) it will tell the errors it finds. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.03.21.49.35(a)gmail.com
From: Hendrik Boom on 4 Jun 2010 12:40 On Thu, 03 Jun 2010 21:49:35 +0000, Camaleón wrote: > On Thu, 03 Jun 2010 20:23:58 +0000, Hendrik Boom wrote: > >> I found an .odf validator online at http://opendocumentfellowship.com/ >> validator (upload a file and it tells you if it likes it), but it >> doesn't handle fodt. It complains it hasn't been compressed and >> packaged as a .zip file. Now surely it's *less* work to check .fodt, >> because you don'thave to do all that pesky unzipping, but ... >> >> Anyone know a validator that checks .fodt files? I'm generating my own >> .fodt and OpenOffice is crashing on it, so presumably there's something >> wrong. > > You can choose any XML validators out there :-) > > http://www.w3.org/2001/03/webdata/xsv To uise that, I'd first have to have the XML schema for .fodt. What's more, that page seems to be about validating a schema, rather than checking whether an XML file satisfies the schema. Maybe I'm wrong. Am I missing something? > > Also, if you open the file with a web browser (epiphany, iceweasel...) > it will tell the errors it finds. iceweasel just reads the XML file and shows it to me in a nice indented tree format. It's good to know I have such a tool. But it finds no errors. Persumably, therefore, my XML is OK but I've violated the .fodt schema, or hit a bug in OpenOffice Writer. epiphany just says, on startup, Unable to load page Problem occurred while loading toe URL file:///home/hendrik No idea why. It certainly used to start up before the last upgrade. Bt it's probably unrelated to this thread -- hendrik -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/huba4p$o6n$1(a)dough.gmane.org
From: Camaleón on 4 Jun 2010 13:10
On Fri, 04 Jun 2010 16:37:45 +0000, Hendrik Boom wrote: > On Thu, 03 Jun 2010 21:49:35 +0000, Camaleón wrote: >> You can choose any XML validators out there :-) >> >> http://www.w3.org/2001/03/webdata/xsv > > To uise that, I'd first have to have the XML schema for .fodt. > > What's more, that page seems to be about validating a schema, rather > than checking whether an XML file satisfies the schema. > > Maybe I'm wrong. Am I missing something? It checks xml syntax. So it depends on what do you want to validate, DTD, schema, DOM syntax? There are also schema validators: http://tools.decisionsoft.com/schemaValidate/ OASIS site should have "fodt" schemas you can use as template for guidance on creating the file and then cheking against that :-? >> Also, if you open the file with a web browser (epiphany, iceweasel...) >> it will tell the errors it finds. > > iceweasel just reads the XML file and shows it to me in a nice indented > tree format. It's good to know I have such a tool. But it finds no > errors. Persumably, therefore, my XML is OK but I've violated the .fodt > schema, or hit a bug in OpenOffice Writer. That indicates the XML syntax of your file is valid, but yes, OOo is maybe crashing because cannot interpret the syntax. Launch OOo writer and load that fodt file from command line to see the output errors. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.04.17.04.01(a)gmail.com |