[xml] Problem with public entity references

2012-02-07 Thread Nikolai Weibull
What is going wrong here? (Example files minimized to show the problem.) a.dtd: !ENTITY % a PUBLIC -//a//b//c %a; a.ent: !ELEMENT a EMPTY a.xml: a/ catalog: ?xml version=1.0? !DOCTYPE catalog PUBLIC -//OASIS//DTD Entity Resolution XML Catalog V1.0//EN

Re: [xml] This code unlinks too much.

2012-02-07 Thread Noam Postavsky
John J. Boyer john.bo...@abilitiessoft.com writes: The document is xhtml with head and body inside the HTML tag. The code is pasted below the line of dashes. The problem area starts with the line oldPrebSib = furbrl-prev; curBrlNode is defined and set outside this function Itcontains a

Re: [xml] Problem with public entity references

2012-02-07 Thread Noam Postavsky
Nikolai Weibull n...@bitwi.se writes: What is going wrong here? (Example files minimized to show the problem.) a.dtd: !ENTITY % a PUBLIC -//a//b//c %a; a.ent: !ELEMENT a EMPTY It looks like you swapped the entity definition with DTD definition.

Re: [xml] Problem with public entity references

2012-02-07 Thread Nikolai Weibull
On Wed, Feb 8, 2012 at 02:52, Noam Postavsky npost...@users.sourceforge.net wrote: Nikolai Weibull n...@bitwi.se writes: What is going wrong here?  (Example files minimized to show the problem.) a.dtd: !ENTITY % a PUBLIC -//a//b//c %a; a.ent: !ELEMENT a EMPTY It looks like you swapped