~ubuntu-branches/ubuntu/precise/xerces-c/precise-security

« back to all changes in this revision

Viewing changes to src/xercesc/validators/schema/identity/XercesXPath.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jay Berkenbilt
  • Date: 2010-02-06 16:46:23 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100206164623-xbntkcs6ks20nboa
Tags: 3.1.0-1
* New upstream release
* Updated standards version to 3.8.4.  No changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
6
 * (the "License"); you may not use this file except in compliance with
7
7
 * the License.  You may obtain a copy of the License at
8
 
 * 
 
8
 *
9
9
 *      http://www.apache.org/licenses/LICENSE-2.0
10
 
 * 
 
10
 *
11
11
 * Unless required by applicable law or agreed to in writing, software
12
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
 */
17
17
 
18
18
/*
19
 
 * $Id: XercesXPath.cpp 804234 2009-08-14 14:20:16Z amassari $
 
19
 * $Id: XercesXPath.cpp 903997 2010-01-28 08:28:06Z borisk $
20
20
 */
21
21
 
22
22
// ---------------------------------------------------------------------------
675
675
    XercesLocationPath* newPath = new (fMemoryManager) XercesLocationPath(stepsVector);
676
676
    janSteps.orphan();
677
677
    bool bFound=false;
678
 
    for(XMLSize_t i=0;i<fLocationPaths->size();i++)
679
 
        if((*(fLocationPaths->elementAt(i)))==(*newPath))
 
678
    for(XMLSize_t j=0;j<fLocationPaths->size();j++)
 
679
        if((*(fLocationPaths->elementAt(j)))==(*newPath))
680
680
        {
681
681
            bFound=true;
682
682
            break;
1458
1458
/**
1459
1459
  * End of file XercesPath.cpp
1460
1460
  */
1461