Restrict using UserExtension with UserID "TianoCore".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@792 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
wuyizhong 2006-07-06 07:35:01 +00:00
parent e3f236c844
commit e0f8d087ae
1 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ import java.util.Stack;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.xmlbeans.XmlCursor;
import org.apache.xmlbeans.XmlObject;
import org.apache.xmlbeans.XmlString;
import org.tianocore.BuildOptionsDocument;
@ -1379,7 +1378,7 @@ public class SurfaceAreaQuery {
}
public static Node getFpdUserExtension() {
String[] xPath = new String[] { "/UserExtensions" };
String[] xPath = new String[] { "/UserExtensions[@UserID='TianoCore']" };
Object[] queryResult = get("PlatformSurfaceArea", xPath);
if (queryResult == null || queryResult.length == 0) {