<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/namespace-warning-xmlns-URI-AnetApi-xml-v1-schema-AnetApiSchema/m-p/51657#M27005</link>
    <description>&lt;P&gt;As this is only a warning from PHP and doesn't reflect a real problem, the simplest option would be to&amp;nbsp;suppress it. The plugin developer should be able to do this by looking at which method specifically is causing the warning. Most likely, this is one of PHP's simpleXML, an example of how to parse the XML while&amp;nbsp;suppressing this warning can be seen here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$xml = simplexml_load_string($response,'SimpleXMLElement', LIBXML_NOWARNING);&lt;/PRE&gt;
&lt;P&gt;The LIBXML_NOWARNING option will suppress XML parsing warnings on only the XML parsing while still leaving them on for the plugin in general.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2015 17:01:32 GMT</pubDate>
    <dc:creator>Trevor</dc:creator>
    <dc:date>2015-08-07T17:01:32Z</dc:date>
    <item>
      <title>namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/namespace-warning-xmlns-URI-AnetApi-xml-v1-schema-AnetApiSchema/m-p/51649#M26997</link>
      <description>&lt;P&gt;We're a Magento EE 1.14.2&amp;nbsp; site running a vendor extension for our CIM. Since I just finished the update to 1.14.2, I'm watching the system.log closely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log's getting lots of namespace&amp;nbsp;warnings about an issue that does not seem to keep the CIM code from working. But,&amp;nbsp;the warnings&amp;nbsp;clutter up the log and slow finding more significant entries that require attention.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From other posts I've seen about this warning, the extension developer is already using the recommended code to try and prevent this error e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;public function __call($api_call, $args)&lt;BR /&gt;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;$this-&amp;gt;xml = @new SimpleXMLElement('&amp;lt;' . $api_call . '&amp;gt;&amp;lt;/' . $api_call . '&amp;gt;');&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;$this-&amp;gt;xml-&amp;gt;addAttribute('xmlns', 'AnetApi/xml/v1/schema/AnetApiSchema.xsd');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have suggestions about how else we could code this to avoid getting these annoying log entries?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 19:33:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/namespace-warning-xmlns-URI-AnetApi-xml-v1-schema-AnetApiSchema/m-p/51649#M26997</guid>
      <dc:creator>pksafety6</dc:creator>
      <dc:date>2015-08-06T19:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/namespace-warning-xmlns-URI-AnetApi-xml-v1-schema-AnetApiSchema/m-p/51657#M27005</link>
      <description>&lt;P&gt;As this is only a warning from PHP and doesn't reflect a real problem, the simplest option would be to&amp;nbsp;suppress it. The plugin developer should be able to do this by looking at which method specifically is causing the warning. Most likely, this is one of PHP's simpleXML, an example of how to parse the XML while&amp;nbsp;suppressing this warning can be seen here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$xml = simplexml_load_string($response,'SimpleXMLElement', LIBXML_NOWARNING);&lt;/PRE&gt;
&lt;P&gt;The LIBXML_NOWARNING option will suppress XML parsing warnings on only the XML parsing while still leaving them on for the plugin in general.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2015 17:01:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/namespace-warning-xmlns-URI-AnetApi-xml-v1-schema-AnetApiSchema/m-p/51657#M27005</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2015-08-07T17:01:32Z</dc:date>
    </item>
  </channel>
</rss>

