Hello everyone !
Can someone tell me why BaseX could not parse my xml ?
"ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" in the doctype could not be parsed....
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dmodule [ <!NOTATION cgm PUBLIC "-//USA-DOD//NOTATION Computer Graphics Metafile//EN"> <!ENTITY ICN-A350-A-291157-A-FAPE3-00015-A-001-01 SYSTEM "ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" NDATA cgm> ]>
<xmlContent>
....
</xmlContent>
Thank you !
Hi Johann,
BaseX expects the file 'ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM' to be present.
$ basex -itest.xml Creating Database... java.io.FileNotFoundException: /private/tmp/ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM (No such file or directory) "/private/tmp/test.xml" (Line 4): "ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" could not be parsed. $ touch ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM $ basex -itest.xml Creating Database... Indexing Text... Indexing Attributes... $
Hope this helps, Alex
On 03.02.2012, at 10:46, Johann LEGAYE wrote:
Hello everyone !
Can someone tell me why BaseX could not parse my xml ?
"ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" in the doctype could not be parsed....
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dmodule [ <!NOTATION cgm PUBLIC "-//USA-DOD//NOTATION Computer Graphics Metafile//EN">
<!ENTITY ICN-A350-A-291157-A-FAPE3-00015-A-001-01 SYSTEM "ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" NDATA cgm>
]>
<xmlContent>
....
</xmlContent>
Thank you ! _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Alexander Holupirek |-- http://www.informatik.uni-konstanz.de/~holupire |-- Database & Information Systems Group, U Konstanz `-- Room E 221, 0049 7531 88 2188 (phone) 3577 (fax)
Hi Johann,
some quick feedback to the mail that was already answered by Alex: I've slightly relaxed the DTD parsing constraints in our internal XML parser. With the latest stable snapshot [1], you'll now be able to browse the discussed XML files without switching to Java's default parser. We'll release an official stability fix (7.1.1) at the end of the week.
Christian
[1] http://files.basex.org/releases/latest/ ___________________________
On Fri, Feb 3, 2012 at 10:46 AM, Johann LEGAYE johann.legaye@4dconcept.fr wrote:
Hello everyone !
Can someone tell me why BaseX could not parse my xml ?
"ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" in the doctype could not be parsed....
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dmodule [ <!NOTATION cgm PUBLIC "-//USA-DOD//NOTATION Computer Graphics Metafile//EN">
<!ENTITY ICN-A350-A-291157-A-FAPE3-00015-A-001-01 SYSTEM "ICN-A350-A-291157-A-FAPE3-00015-A-001-01.CGM" NDATA cgm>
]>
<xmlContent>
....
</xmlContent>
Thank you ! _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de