Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 922138

Summary: libxml2-2.6 has issues validating XMLs
Product: Red Hat Enterprise Linux 5 Reporter: sabrinalaby
Component: libxml2Assignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: ohudlick, sabrinalaby
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 13:06:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PHP XSL Value in an XSD File none

Description sabrinalaby 2013-03-15 14:49:48 UTC
Description of problem:
After a system package update,got an error when trying to validate XML source.
The peace of code is part of the of the Symfony2 core (XmlFileLoader.php)

Source concerned :
        $source = <<<EOF
<?xml version="1.0" encoding="utf-8" ?>
<xsd:schema xmlns="http://symfony.com/schema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://symfony.com/schema"
    elementFormDefault="qualified">

    <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
$imports
</xsd:schema>
EOF
        ;

$current = libxml_use_internal_errors(true);
libxml_clear_errors();

$valid = $dom->schemaValidateSource($source);

Version-Release number of selected component (if applicable):
  libxml2.i386 0:2.6.26-2.1.21.el5_9.2

To solve temporary my issue, I have just downgrade the package to libxml2.i386 0:2.6.26-2.1.21.el5_9.1 and that works

Comment 1 Daniel Veillard 2013-03-15 15:16:47 UTC
Can you attach a full XML and XSD files showing the problem with
xmllint --schema file.xsd file.xml
There is nothing i can reproduce from your incomplete code.
Daniel

Comment 2 sabrinalaby 2013-03-15 15:24:52 UTC
Created attachment 710722 [details]
PHP XSL Value in an XSD File

Comment 3 sabrinalaby 2013-03-15 15:26:38 UTC
Comment on attachment 710722 [details]
PHP XSL Value in an XSD File

To be exhaustive, i have just "Copy/paste" the php variable $source in file but I don't know in that case if we couuld admit that it's a perfect reproduction of the context

Comment 4 RHEL Program Management 2014-03-07 13:37:57 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 5 RHEL Program Management 2014-06-02 13:06:17 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).

Comment 6 Red Hat Bugzilla 2023-09-14 01:42:25 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days