diff options
author | Mike Jones <mjjones@us.ibm.com> | 2012-03-08 07:46:50 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-03-15 10:33:51 -0500 |
commit | f725655dd62684a6e9bede7ae2cab10f52c72ca7 (patch) | |
tree | 270c7696b79e779adaeab9c46acad21b3907b63b /src/usr/targeting/xmltohb/xmltohb.pl | |
parent | 6c7dcf9fd4b30e4257c579b21ac31a43ac854021 (diff) | |
download | talos-hostboot-f725655dd62684a6e9bede7ae2cab10f52c72ca7.tar.gz talos-hostboot-f725655dd62684a6e9bede7ae2cab10f52c72ca7.zip |
HWPF Attribute Support: Fabric config attributes
RTC: 35819
Change-Id: I8502e8a8974935cccf60e38b02cc1fbff86a18ce
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/728
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/xmltohb/xmltohb.pl')
-rwxr-xr-x | src/usr/targeting/xmltohb/xmltohb.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/targeting/xmltohb/xmltohb.pl b/src/usr/targeting/xmltohb/xmltohb.pl index 3fdcbd6e4..3f36269c9 100755 --- a/src/usr/targeting/xmltohb/xmltohb.pl +++ b/src/usr/targeting/xmltohb/xmltohb.pl @@ -46,7 +46,12 @@ use Text::Wrap; use Data::Dumper; use POSIX; - +################################################################################ +# Set PREFERRED_PARSER to XML::Parser. Otherwise it uses XML::SAX which contains +# bugs that result in XML parse errors that can be fixed by adjusting white- +# space (i.e. parse errors that do not make sense). +################################################################################ +$XML::Simple::PREFERRED_PARSER = 'XML::Parser'; ################################################################################ # Process command line parameters, issue help text if needed |