Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37529125
en ru br
Репозитории ALT
S:1.21-alt3_23jpp8
5.1: 1.21-alt1_5jpp5
4.1: 1.21-alt1_3jpp1.7
4.0: 1.21-alt1_3jpp1.7
www.altlinux.org/Changes

Группа :: Разработка/Java
Пакет: dtdparser

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: dtdparser-unmappable-chars-in-comments.patch
Скачать


--- source/com/wutka/dtd/Scanner.java.orig	2013-07-27 23:42:55.310125203 +0100
+++ source/com/wutka/dtd/Scanner.java	2013-07-27 23:43:34.668405644 +0100
@@ -502,11 +502,6 @@
 //    sub-section delimiters '<![' and ']]>'. These must be balanced,
 //    but no section keyword is required:
 //    Conditional Section
-//[61] conditionalSect ::= ═includeSect | ignoreSect
-//[62] includeSect ::= ═'<![' S? 'INCLUDE' S? '[' extSubsetDecl ']]>'
-//[63] ignoreSect ::= ═'<![' S? 'IGNORE' S? '[' ignoreSectContents* ']]>'
-//[64] ignoreSectContents ::= ═Ignore ('<![' ignoreSectContents ']]>' Ignore)*
-//[65] Ignore ::= ═Char* - (Char* ('<![' | ']]>') Char*)
 
         for (;;)
         {
@@ -524,8 +519,6 @@
                     {
                         if ( nestingDepth == 0)
                         {
-                            // The end of the IGNORE conditional section
-                            // has been found. ═Break out of for loop.
                             break;
                         }
                         else
@@ -547,8 +540,6 @@
                     ch = read();
                     if ( ch == '[' )
                     {
-                        // The beginning of a new ignoreSectContents section
-                        // has been found. ═Increment nesting depth.
                         nestingDepth++;
                     }
                 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin