src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XML11NSDocumentScannerImpl.java
changeset 48412 d4412e380f6b
parent 47216 71c04702a3d5
equal deleted inserted replaced
48411:4ff5c5206427 48412:d4412e380f6b
   739         QName endElementName = fElementStack.popElement();
   739         QName endElementName = fElementStack.popElement();
   740 
   740 
   741         // Take advantage of the fact that next string _should_ be "fElementQName.rawName",
   741         // Take advantage of the fact that next string _should_ be "fElementQName.rawName",
   742         //In scanners most of the time is consumed on checks done for XML characters, we can
   742         //In scanners most of the time is consumed on checks done for XML characters, we can
   743         // optimize on it and avoid the checks done for endElement,
   743         // optimize on it and avoid the checks done for endElement,
   744         //we will also avoid symbol table lookup - neeraj.bajaj@sun.com
   744         //we will also avoid symbol table lookup.
   745 
   745 
   746         // this should work both for namespace processing true or false...
   746         // this should work both for namespace processing true or false...
   747 
   747 
   748         //REVISIT: if the string is not the same as expected.. we need to do better error handling..
   748         //REVISIT: if the string is not the same as expected.. we need to do better error handling..
   749         //We can skip this for now... In any case if the string doesn't match -- document is not well formed.
   749         //We can skip this for now... In any case if the string doesn't match -- document is not well formed.