/[classpath]/classpath/gnu/xml/dom/ls/SAXEventSink.java
ViewVC logotype

Diff of /classpath/gnu/xml/dom/ls/SAXEventSink.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dog, Thu Mar 10 19:21:50 2005 UTC revision 1.3 by dog, Sat May 14 21:43:43 2005 UTC
# Line 366  class SAXEventSink Line 366  class SAXEventSink
366          ctx = doctype;          ctx = doctype;
367          return;          return;
368        }        }
369        if ("lt".equals(name) ||
370            "gt".equals(name) ||
371            "amp".equals(name) ||
372            "apos".equals(name) ||
373            "quot".equals(name))
374          {
375            return;
376          }
377      // Get entity      // Get entity
378      NamedNodeMap entities = doctype.getEntities();      NamedNodeMap entities = doctype.getEntities();
379      Entity entity = (Entity) entities.getNamedItem(name);      Entity entity = (Entity) entities.getNamedItem(name);
# Line 385  class SAXEventSink Line 393  class SAXEventSink
393          // Ignore DTD and parameter entities          // Ignore DTD and parameter entities
394          return;          return;
395        }        }
396        if ("lt".equals(name) ||
397            "gt".equals(name) ||
398            "amp".equals(name) ||
399            "apos".equals(name) ||
400            "quot".equals(name))
401          {
402            return;
403          }
404        // Get entity
405      Entity entity = popEntity();      Entity entity = popEntity();
406      // TODO resolve external entities to ensure that entity has content      // TODO resolve external entities to ensure that entity has content
407      if (expandEntityReferences)      if (expandEntityReferences)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26