-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 16 December 2002 15:06, Erik Rydgren wrote: > Check a known bug in .... hangon... *much muffled noises and irrational > searching* > > DOMDocumentTypeImpl::setOwnerDocument() > > There you will find a row stating: > > systemId = docImpl->cloneString(internalSubset); > > Wupps... BUG! We did the systemId cloning a couple of lines earlier which > we now trashes. > It should be this instead. > > internalSubset = docImpl->cloneString(internalSubset); I changed that line of code and now everything works OK :-) THANK YOU! You saved my day (and my paper :-)
> Then you will get your SYSTEM identifiers back. > PS: This was fixed quite a while ago and is present in the nightly build. I should have searched bugzilla, but I was unsure whether it was a bug or something I missed. Since I started using xerces (or anything xml-related to be precise ;-) 3 days ago, I guess I the least I should offer is some newbie-perspective ;-). I think it would be nice to have some more documentation regarding the use of documentTypes. My original intention was to cloneNode() the one from an existing document, but I failed for some reason I didn't investigate. Also there should be a page that warns newbies (like me) that one cannot just assign a Node from a Document to another (without crashing your app that is ;-) and that one should use importNode(), cloneNode() and the like... Just my 0,02Eur :-) - -- -| Claudio Bandaloukas |- jabber-id: [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9/eIrUVSA8zPJkSYRAks+AKCi/Ufg/XZCG6zVHJQ7rwyp/b8/kQCcDpsz +L/tugIUaD7nhlLc2nOdpd0= =UP8F -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
