Revision 4446
Added by ben leinfelder about 16 years ago
src/edu/ucsb/nceas/metacat/DocInfoHandler.java | ||
---|---|---|
67 | 67 |
public void endElement (String uri, String localName, String qName) |
68 | 68 |
throws SAXException |
69 | 69 |
{ |
70 |
if (currentTag.equals("access")) {
|
|
70 |
if (localName.equals("access")) {
|
|
71 | 71 |
//harvest the latest values from the Map |
72 | 72 |
String docid = (String) docinfo.get("docid"); |
73 | 73 |
String principal = (String) docinfo.get("principal"); |
... | ... | |
84 | 84 |
acccessControlList.add(acfsf); |
85 | 85 |
} |
86 | 86 |
//save the list when we are done |
87 |
if (currentTag.equals("acccessControl")) {
|
|
87 |
if (localName.equals("acccessControl")) {
|
|
88 | 88 |
docinfo.put("acccessControl", acccessControlList); |
89 | 89 |
} |
90 | 90 |
} |
Also available in: Unified diff
use local name for end Element parsing...