Standardized on autoMount (vs. automount) and created compiled version of the PCSIG08 disk manifest (because it's huge)
This commit is contained in:
parent
4a26d4b083
commit
4577092917
54 changed files with 93 additions and 93 deletions
|
|
@ -282,16 +282,16 @@ function resolveXML(sXML, display, done)
|
|||
* Iterate over all the attributes in the "referring" XML tag (sRefAttrs)
|
||||
*/
|
||||
var matchAttr;
|
||||
var reAttr = /( [a-z]+=)(['"])(.*?)\2/g;
|
||||
var reAttr = /( [a-z]+=)(['"])(.*?)\2/gi;
|
||||
while ((matchAttr = reAttr.exec(sRefAttrs))) {
|
||||
if (sXMLNewTag.indexOf(matchAttr[1]) < 0) {
|
||||
if (sXMLNewTag.toLowerCase().indexOf(matchAttr[1].toLowerCase()) < 0) {
|
||||
/*
|
||||
* This is the append case
|
||||
* This is the append case....
|
||||
*/
|
||||
sXMLNewTag = sXMLNewTag.replace(">", matchAttr[0] + ">");
|
||||
} else {
|
||||
/*
|
||||
* This is the overwrite case
|
||||
* This is the overwrite case....
|
||||
*/
|
||||
sXMLNewTag = sXMLNewTag.replace(new RegExp(matchAttr[1] + "(['\"])(.*?)\\1"), matchAttr[0]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue