src/CfdiUtils/Cleaner/Cleaner.php
public function removeNonSatNSschemaLocations()
    {
        $schemaLocations = $this->obtainXsiSchemaLocations();
        for ($s = 0; $s < $schemaLocations->length; $s++) {
            $element = $schemaLocations->item($s);
            if (null !== $element) {
                $this->removeNonSatNSschemaLocation($element);
            }
        }
    }
public function removeNonSatNSschemaLocations()
    {
        $schemaLocations = $this->obtainXsiSchemaLocations();
        for ($s = 0; $s < $schemaLocations->length; $s++) {
            $element = $schemaLocations->item($s);
            if (null !== $element) {
                $this->removeNonSatNSschemaLocation($element);
            }
        }
    }
public function removeNonSatNSschemaLocations ( ) { $ schemaLocations = $ this -> obtainXsiSchemaLocations ( ) ; for ( $ s = 0 ; $ s < $ schemaLocations -> length ; $ s ++ ) { $ element = $ schemaLocations -> item ( $ s ) ; if ( null !== $ element ) { $ this -> removeNonSatNSschemaLocation ( $ element ) ; } } }
Procedure to drop schemaLocations that are not allowed
If the schemaLocation is empty then remove the attribute

@return void
Procedure to drop schemaLocations that are not allowed If the schemaLocation is empty then remove the attribute