Ignore:
Timestamp:
2012-08-01T13:57:10+12:00 (12 years ago)
Author:
sjm84
Message:

Adding constants for the various XML namespaces used in the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/GS2BrowseAction.java

    r26048 r26055  
    454454    protected void extractMetadataNames(Element new_format, HashSet<String> doc_meta_names, HashSet<String> class_meta_names)
    455455    {
    456         NodeList templates = new_format.getElementsByTagNameNS("http://www.greenstone.org/greenstone3/schema/ConfigFormat", "template");
     456        NodeList templates = new_format.getElementsByTagNameNS(GSXML.GSF_NAMESPACE, "template");
    457457        for (int i = 0; i < templates.getLength(); i++)
    458458        {
Note: See TracChangeset for help on using the changeset viewer.