Bugs item #2573123, was opened at 2009-02-06 17:03
Message generated for change (Comment added) made by tsheyar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2573123&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/runtime
Group: MonetDB4 "stable"
>Status: Closed
Resolution: Fixed
Priority: 8
Private: No
Submitted By: Peter Boncz (boncz)
Assigned to: Stefan Manegold (stmane)
Summary: dblp.xml with DTD broken

Initial Comment:
maybe it is my version of libxml2 (2.7.2), but I get loads of errors when 
shredding DBLP.xml with dtd

external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: 
document without external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: 
document without external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: 
document without external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: 
document without external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: 
document without external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: 
document without external subsetxmlAddDtdEntity: document without external 
subsetxmlAddDtdEntity: document without external subsetxmlAddDtdEntity: document

(a newline in the error message would maybe be an idea)

shredding nevertheless proceeds.

reproduction:
- download DBLP.xml and dblp.xml from the web
- shred DBLP.xml

----------------------------------------------------------------------

>Comment By: Jan Rittinger (tsheyar)
Date: 2009-02-16 15:41

Message:
Test not needed. The following two tests check for the same functionality:

tests/BugTracker/entities_dtd.SF-1642665
tests/W3C_use_cases/XQ/SGML/shred_doc


----------------------------------------------------------------------

Comment By: Stefan Manegold (stmane)
Date: 2009-02-16 11:58

Message:
re-opened to remind us that we should consider adding a test

----------------------------------------------------------------------

Comment By: Jan Rittinger (tsheyar)
Date: 2009-02-09 10:15

Message:
Shredding now works without errors again. Closing.

----------------------------------------------------------------------

Comment By: Peter Boncz (boncz)
Date: 2009-02-07 00:05

Message:
Hi Jan^2

This works, dblp.xml is shreddable again, without dtd errors!

thanks!

Peter


----------------------------------------------------------------------

Comment By: Jan Rittinger (tsheyar)
Date: 2009-02-06 23:55

Message:
The problem arises in the call to externalSubset  (namely in function
xmlAddDtdEntity). The problem is that ctx->myDoc->extSubset is NULL which
triggers the error messages.

I checked in a fix. Let's see whether everything now works.

In the first place I would have prohibited a mix of internal and external
DTDs all together!

@Peter: Could you please check all your scenarios. 

----------------------------------------------------------------------

Comment By: Jan Rittinger (tsheyar)
Date: 2009-02-06 21:23

Message:
Just for cross reference: see
https://sourceforge.net/tracker2/?func=detail&aid=2553868&group_id=56967&atid=482468

tests/BugTracker/entities_dtd.SF-1642665 (shredder.mx 1.146 -> 1.147)
tests/W3C_use_cases/XQ/SGML/shred_doc (shredder.mx 1.146 -> 1.147)



----------------------------------------------------------------------

Comment By: Peter Boncz (boncz)
Date: 2009-02-06 20:51

Message:
Jan, what I was trying to accomplish back then, just like now, close to a
deadline, was to fix a crash that I stumbled on.
In my recollection, it also concerned dblp

I have no wish to implement anything, I just try to get mqx to shred this
quite well know dataset. Apparently and indeed without understanding of the
dtd functionality of libxml, in a wrong way

That is independent of the base_dir problem that you created, where I
mentioned your name

So help is appreciated

----------------------------------------------------------------------

Comment By: Jan Flokstra (jflokstra)
Date: 2009-02-06 19:54

Message:
I only have a very slow internet connection here so I cannot check but
isn't this the same bug as the entities_DTD.SFxxxx bug which went failing
when you (Peter Boncz:-) were experimenting with freeiing dtd's because
they were duplicate. I had a look at this problem but did not understand
what you were accomplish. I remember this was between version 1.146 and
1.147.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2573123&group_id=56967

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to