Changeset 3473


Ignore:
Timestamp:
12/12/07 14:09:47 (12 years ago)
Author:
curtis
Message:

Fix bogus earlier fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/XMLTools.java

    r3472 r3473  
    209209        String name = attributes.getQName(i); 
    210210        if (name.equals("xmlns")) xmlns = attributes.getValue(i); 
    211         int colon = name.lastIndexOf(":"); 
    212         if (colon >= 0) name = name.substring(colon + 1); // strip namespace 
    213         else if (name.equals("schemaLocation")) { 
     211        else if (name.equals("schemaLocation") || 
     212          name.endsWith(":schemaLocation")) 
     213        { 
    214214          xsiSchemaLocation = attributes.getValue(i); 
    215215        } 
Note: See TracChangeset for help on using the changeset viewer.