Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37855147
en ru br
ALT Linux repositórios
S:1.21-alt3_23jpp8
5.0: 1.21-alt1_4jpp5
4.1: 1.21-alt1_3jpp1.7
4.0: 1.21-alt1_3jpp1.7

Group :: Desenvolvimento/Java
RPM: dtdparser

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: dtdparser-unmappable-chars-in-comments.patch
Download


--- 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++;
                     }
                 }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009