File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/codehaus/plexus/util/xml/pull Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2988,7 +2988,7 @@ private void parseComment()
29882988 posStart = pos ;
29892989
29902990 final int curLine = lineNumber ;
2991- final int curColumn = columnNumber ;
2991+ final int curColumn = columnNumber - 4 ;
29922992 try
29932993 {
29942994 final boolean normalizeIgnorableWS = tokenize && !roundtripSupported ;
@@ -3109,7 +3109,7 @@ private boolean parsePI()
31093109 if ( tokenize )
31103110 posStart = pos ;
31113111 final int curLine = lineNumber ;
3112- final int curColumn = columnNumber ;
3112+ final int curColumn = columnNumber - 2 ;
31133113 int piTargetStart = pos ;
31143114 int piTargetEnd = -1 ;
31153115 final boolean normalizeIgnorableWS = tokenize && !roundtripSupported ;
@@ -3156,7 +3156,7 @@ else if ( !seenInnerTag )
31563156 {
31573157 // seenPITarget && !seenQ
31583158 throw new XmlPullParserException ( "processing instruction started on line " + curLine
3159- + " and column " + ( curColumn - 2 ) + " was not closed" , this , null );
3159+ + " and column " + curColumn + " was not closed" , this , null );
31603160 }
31613161 }
31623162 else if ( ch == '<' )
You can’t perform that action at this time.
0 commit comments