Moved chip data XML schema to subdirectory
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I486fe54e3a9da6ae1982025acb5bdb9b5ee2ca77
diff --git a/xml/parse_chip_data_xml b/xml/parse_chip_data_xml
index 387fa3f..c083f7d 100755
--- a/xml/parse_chip_data_xml
+++ b/xml/parse_chip_data_xml
@@ -180,7 +180,8 @@
my $path = "$dir/$file";
# Ensure the XML is well-formed and validates against the schema.
- my $out = `xmllint --noout --schema $RealBin/$type.xsd $path 2>&1`;
+ my $schema = "$RealBin/schema/$type.xsd";
+ my $out = `xmllint --noout --schema $schema $path 2>&1`;
die "$out\nRAS XML validation failed on $file" if ( 0 != $? );
# Import the XML.