jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java
changeset 24887 47b6d4800c64
parent 22418 1ee8fd0184d1
child 25264 040625ce9b72
equal deleted inserted replaced
24801:410bccbded9e 24887:47b6d4800c64
   583 
   583 
   584         // Handle end of PE
   584         // Handle end of PE
   585         boolean reportEntity = fReportEntity;
   585         boolean reportEntity = fReportEntity;
   586         if (name.startsWith("%")) {
   586         if (name.startsWith("%")) {
   587             reportEntity = peekReportEntity();
   587             reportEntity = peekReportEntity();
   588             // check well-formedness of the enity
   588             // check well-formedness of the entity
   589             int startMarkUpDepth = popPEStack();
   589             int startMarkUpDepth = popPEStack();
   590             // throw fatalError if this entity was incomplete and
   590             // throw fatalError if this entity was incomplete and
   591             // was a freestanding decl
   591             // was a freestanding decl
   592             if(startMarkUpDepth == 0 &&
   592             if(startMarkUpDepth == 0 &&
   593             startMarkUpDepth < fMarkUpDepth) {
   593             startMarkUpDepth < fMarkUpDepth) {