Changeset 842

Show
Ignore:
Timestamp:
07/24/06 17:52:38
Author:
douglm
Message:

Get the tagnames right

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • access/trunk/src/edu/rpi/cmt/access/AccessXmlUtil.java

    r831 r842  
    188188  public void emitSupportedPrivSet() throws AccessException { 
    189189    try { 
    190       xml.openTag(accessTags.getTag("supportedPrivilegeSet")); 
     190      xml.openTag(accessTags.getTag("supported-privilege-set")); 
    191191 
    192192      emitSupportedPriv(Privileges.getPrivAll()); 
    193193 
    194       xml.closeTag(accessTags.getTag("supportedPrivilegeSet")); 
     194      xml.closeTag(accessTags.getTag("supported-privilege-set")); 
    195195    } catch (Throwable t) { 
    196196      throw new AccessException(t); 
     
    212212                                        char[] privileges) throws AccessException { 
    213213    try { 
    214       xml.openTag(accessTags.getTag("currentUserPrivilegeSet")); 
     214      xml.openTag(accessTags.getTag("current-user-privilege-set")); 
    215215 
    216216      for (int pi = 0; pi < privileges.length; pi++) { 
     
    226226      } 
    227227 
    228       xml.closeTag(accessTags.getTag("currentUserPrivilegeSet")); 
     228      xml.closeTag(accessTags.getTag("current-user-privilege-set")); 
    229229    } catch (Throwable t) { 
    230230      throw new AccessException(t); 
     
    269269 
    270270  private void emitSupportedPriv(Privilege priv) throws Throwable { 
    271     xml.openTag(accessTags.getTag("supportedPrivilege")); 
     271    xml.openTag(accessTags.getTag("supported-privilege")); 
    272272 
    273273    xml.openTagNoNewline(accessTags.getTag("privilege")); 
     
    276276 
    277277    if (priv.getAbstractPriv()) { 
    278       xml.emptyTag(accessTags.getTag("_abstract")); 
     278      xml.emptyTag(accessTags.getTag("abstract")); 
    279279    } 
    280280 
     
    286286    } 
    287287 
    288     xml.closeTag(accessTags.getTag("supportedPrivilege")); 
     288    xml.closeTag(accessTags.getTag("supported-privilege")); 
    289289  } 
    290290