~ubuntu-branches/ubuntu/utopic/eclipse-wtp/utopic-proposed

« back to all changes in this revision

Viewing changes to .pc/xerces-2.0.11-compatibility-fix.patch/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLValidator.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2014-07-10 12:54:39 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140710125439-ixzeiqepu8m3e1z6
Tags: 3.6.0-1
* New upstream release.
* Refreshed d/patches/debian-custom-build.patch.
* Regenerate CSSTokenizer during build.
* Override codeless-jar warning in eclipse-wtp binary package.
* Override false positive source-is-missing lintian error in bundle
  org.eclipse.wst.jsdt.support.ie.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*******************************************************************************
2
 
 * Copyright (c) 2001, 2012 IBM Corporation and others.
 
2
 * Copyright (c) 2001, 2014 IBM Corporation and others.
3
3
 * All rights reserved. This program and the accompanying materials
4
4
 * are made available under the terms of the Eclipse Public License v1.0
5
5
 * which accompanies this distribution, and is available at
97
97
  
98
98
  private static final String FILE_NOT_FOUND_KEY = "FILE_NOT_FOUND"; //$NON-NLS-1$
99
99
   
100
 
  private MarkupValidator val = new MarkupValidator();
 
100
  private StreamingMarkupValidator val = new StreamingMarkupValidator();
101
101
  
102
102
  private final String ANNOTATIONMSG = AnnotationMsg.class.getName();
103
103
 
511
511
                }
512
512
                IReporter reporter = null;
513
513
                if (resource != null){
514
 
                    reporter = val.validate(resource, 0, new ValOperation().getState()) ;
 
514
                        reporter = val.validate(resource, 0, new ValOperation().getState());
515
515
                }
516
516
                return reporter;
517
517
        }