From dfe2cc96c8986eaa3e171dd6eead9afdf7e07b4d Mon Sep 17 00:00:00 2001 From: toshihiro Date: Thu, 5 Apr 2007 07:50:15 +0000 Subject: [PATCH] Fix #1622108 - IllegalArgumentException on using CDATA --- .../xml/ui/internal/text/XMLCDATAScanner.java | 21 ++++++++++++++----- 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/XMLCDATAScanner.java b/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/XMLCDATAScanner.java index 958049e..4ae4325 100644 --- a/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/XMLCDATAScanner.java +++ b/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/XMLCDATAScanner.java @@ -8,7 +8,7 @@ * Contributors: * Igor Malinin - initial contribution * - * $Id: XMLCDATAScanner.java,v 1.2 2005-05-06 00:55:41 stefanbjarni Exp $ + * $Id: XMLCDATAScanner.java,v 1.3 2007-04-05 07:50:15 toshihiro Exp $ */ package net.sourceforge.phpeclipse.xml.ui.internal.text; @@ -67,12 +67,21 @@ public class XMLCDATAScanner implements ITokenScanner { offset += length; if (position == begin) { - position += 3; //