|
Bugzilla – Full Text Bug Listing |
| Summary: | libxml2 rng validation incorrectly handles 'start' overrides in 'include' | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Martin Vidner <mvidner> |
| Component: | Other | Assignee: | Pavol Rusnak <prusnak> |
| Status: | RESOLVED UPSTREAM | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ke |
| Version: | Final | ||
| Target Milestone: | Future/Later | ||
| Hardware: | i686 | ||
| OS: | Other | ||
| URL: | http://bugzilla.gnome.org/show_bug.cgi?id=321068 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | 132722-bad2.tgz | ||
|
Description
Martin Vidner
2005-11-08 15:39:59 UTC
Created attachment 56693 [details] 132722-bad2.tgz Here are 3 rnc files and 3 rng equivalents generated by "trang suse-primary.rnc suse-primary.rng". Note that in the inclusion chain (suse-primary .. primary .. rpm-ns) the start element is overriden each time. If the override is commented out in suse-primary, libxml2 accepts the schema. (The override is actually useless here but not in the original files that were simplified for this testcase) From the error messages I infer that libxml2 wrongly applies the "combine" method, instead of replacing the definitions entirely as required when doing an include. (See 9.4 Replacing definitions in the RNC Tutorial, http://relaxng.org/compact-tutorial-20030326.html#id2815849) Thanks for the report and the test case. Reported upstream as http://bugzilla.gnome.org/show_bug.cgi?id=321068 Still the same with 2.6.23. Pavol verified reported to upstream, that 2.6.27 was still affected. Closing here. Tracked in upstream bugzilla. I think tracking upstream does not count as "RESOLVED FIXED" ;) Changed resolution to upstream and added URL |