Re: memaid 0.4.6-pre
Peter Bienstman <[email protected]> Wed, 12 Nov 2003 08:44:22 +0100
| Newsgroups | gmane.comp.tools.memaid.devel |
|---|---|
| Organization | Ghent University |
| Message-ID | <[email protected]> |
On Tuesday 11 November 2003 22:44, David Calinski wrote: > On Tuesday 11 of November 2003 21:48, Peter Bienstman wrote: > > I wanted to test if I could import XML generated by your program into > > PyQt Memaid. But, is it me, or does 'export' just create a file with > > > > <q>question</q> > > <a>answer</a> > > > > as opposed to full xml? > > It does... I didn't rewrite anything related to export file. > "Export" always exported only Q/A pairs, in this simple format. > (BTW: is this format bad? Do we want real XML in "export"?). > > Full XML file is saved anyway (element.xml). O I see, elements.xml replaces elements.txt completely. Im trying to import your file (replacing memaid_data by memaid as we discussed), and so far it seems I have to replace <?XML version="1.0" ?> by <?xml version="1.0" ?>. It also doesn't like to parse the dtd block, but I'll check on that later. Also it seems I was wrong about whitespace <A> <![CDATA[answer]> </A> imports as three lines: blank, answer, blank whereas this works as expected (apart from looking nicer too ;-) ) <A><![CDATA[answer]]></A> Cheers, Peter -- ------------------------------------------------ Peter Bienstman Ghent University, Dep. of Information Technology Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium tel: +32 9 264 34 45, fax: +32 9 264 35 93 WWW: http://photonics.intec.ugent.be email: [email protected] ------------------------------------------------ ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/