/*
- * Copyright 2001-2010 Internet2
+ * Copyright 2001-2011 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
- const XMLCh* protlist = e->getFirstChild()->getNodeValue();
- XMLStringTokenizer prottokens(protlist);
+ XMLStringTokenizer prottokens(e->getTextContent());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
- const XMLCh* protlist = e->getFirstChild()->getNodeValue();
- XMLStringTokenizer prottokens(protlist);
+ XMLStringTokenizer prottokens(e->getTextContent());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
- const XMLCh* protlist = e->getFirstChild()->getNodeValue();
- XMLStringTokenizer prottokens(protlist);
+ XMLStringTokenizer prottokens(e->getTextContent());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());