From e0f8d087ae422c613267650487686581b1081fc8 Mon Sep 17 00:00:00 2001 From: wuyizhong Date: Thu, 6 Jul 2006 07:35:01 +0000 Subject: Restrict using UserExtension with UserID "TianoCore". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@792 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Tools') diff --git a/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java b/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java index 0b16e30df3..2d8abc3b1c 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java +++ b/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java @@ -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) { -- cgit v1.2.3