Bug 922138
| Summary: | libxml2-2.6 has issues validating XMLs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | sabrinalaby | ||||
| Component: | libxml2 | Assignee: | Daniel Veillard <veillard> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-tools-bugs | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 5.9 | CC: | 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: |
|
||||||
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 Created attachment 710722 [details]
PHP XSL Value in an XSD File
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
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. 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). The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
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