### Eclipse Workspace Patch 1.0 #P org.eclipse.pde.core Index: src/org/eclipse/pde/internal/core/builders/XMLErrorReporter.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/XMLErrorReporter.java,v retrieving revision 1.11 diff -u -r1.11 XMLErrorReporter.java --- src/org/eclipse/pde/internal/core/builders/XMLErrorReporter.java 4 Oct 2006 15:56:01 -0000 1.11 +++ src/org/eclipse/pde/internal/core/builders/XMLErrorReporter.java 27 Aug 2007 21:15:06 -0000 @@ -20,6 +20,7 @@ import org.eclipse.core.filebuffers.FileBuffers; import org.eclipse.core.filebuffers.ITextFileBufferManager; +import org.eclipse.core.filebuffers.LocationKind; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IProject; @@ -91,9 +92,9 @@ try { fFile = file; fProject = file.getProject(); - manager.connect(file.getFullPath(), null); - fTextDocument = manager.getTextFileBuffer(file.getFullPath()).getDocument(); - manager.disconnect(file.getFullPath(), null); + manager.connect(file.getFullPath(), LocationKind.NORMALIZE, null); + fTextDocument = manager.getTextFileBuffer(file.getFullPath(), LocationKind.NORMALIZE).getDocument(); + manager.disconnect(file.getFullPath(), LocationKind.NORMALIZE, null); fFindReplaceAdapter = new FindReplaceDocumentAdapter(fTextDocument); fOffsetTable = new HashMap(); fElementStack = new Stack();