[Bug 222956] New: autoyast schema check fails for unknown reason
https://bugzilla.novell.com/show_bug.cgi?id=222956 Summary: autoyast schema check fails for unknown reason Product: openSUSE 10.2 Version: Beta 2 plus Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: AutoYaST AssignedTo: mvidner@novell.com ReportedBy: ug@novell.com QAContact: qa@suse.de the schema check in autoyast fails if the order in the XML file is different then xmllint expects. That looks a bit like a bug in the schema check of xmllint. Attached is a workaround for yast2-schema and a small testcase This is critical because all fixed schema files are useless if yast2-schema itself has this bug -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ------- Comment #1 from ug@novell.com 2006-11-21 08:13 MST ------- Created an attachment (id=106406) --> (https://bugzilla.novell.com/attachment.cgi?id=106406&action=view) fix for yast2-schema -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ------- Comment #2 from ug@novell.com 2006-11-21 08:14 MST ------- Created an attachment (id=106407) --> (https://bugzilla.novell.com/attachment.cgi?id=106407&action=view) xml file that trigges the problem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ------- Comment #3 from ug@novell.com 2006-11-21 08:15 MST ------- Created an attachment (id=106408) --> (https://bugzilla.novell.com/attachment.cgi?id=106408&action=view) minimum schema file that triggers that error -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ug@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #106407|xml file that trigges the |xml file that trigges the problem. If I put the description|problem |software element to the top, it works. | |That should not happen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #106407|0 |1 is obsolete| | Attachment #106408|0 |1 is obsolete| | ------- Comment #4 from mvidner@novell.com 2006-11-22 03:21 MST ------- Created an attachment (id=106526) --> (https://bugzilla.novell.com/attachment.cgi?id=106526&action=view) bnc222956.tar.gz here's a smaller self-contained test case. xmllint thinks that the contents of blue must all interleave before the contents of red whereas jing allows interleaving blue and red (both in rnc and rng). It is either a bug in xmllint or in jing, depending on what is actually specified as correct. So I suggest reporting upstream. hh@mjolnir:~> tar xvfz bnc222956.tar.gz bnc222956/ bnc222956/redblue.rnc bnc222956/redblue.rng bnc222956/redblue.xml hh@mjolnir:~> cd bnc222956/ hh@mjolnir:~/bnc222956> jing -c redblue.rnc redblue.xml; echo $? 0 hh@mjolnir:~/bnc222956> xmllint --noout -relaxng redblue.rng redblue.xml Relax-NG validity error : Extra element blueB in interleave redblue.xml:5: element blueB: Relax-NG validity error : Element profile failed to validate content redblue.xml fails to validate hh@mjolnir:~/bnc222956> mv redblue.rng redblue.rng.orig hh@mjolnir:~/bnc222956> trang redblue.rnc redblue.rng hh@mjolnir:~/bnc222956> cmp redblue.rng.orig redblue.rng; echo $? 0 hh@mjolnir:~/bnc222956> xmllint --version xmllint: using libxml version 20626 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug hh@mjolnir:~/bnc222956> rpm -q jing trang jing-20030619-31 trang-20030619-174 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com AssignedTo|mvidner@novell.com |ke@novell.com Severity|Critical |Major ------- Comment #5 from mvidner@novell.com 2006-11-22 03:26 MST ------- Thanks to Uwe for applying the workaround in comment 1 to yast2-schema-2.14.1. Downgrading the bug. Karl, please report the validator bug. I hope you can determine the correct behavior; I can help with that if needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |LATER ------- Comment #6 from ke@novell.com 2006-11-22 09:02 MST ------- Thanks for the report -- I will work on it once 10.3 is done. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|LATER | ------- Comment #7 from ke@novell.com 2006-12-05 04:05 MST ------- for 10.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|autoyast schema check fails |autoyast schema check fails for unknown reason |for unknown reason |(interleave) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 ------- Comment #9 from prusnak@novell.com 2007-01-24 07:50 MST ------- Filed as libxml2 bug: http://bugzilla.gnome.org/show_bug.cgi?id=400223 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222956 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|autoyast schema check fails for unknown reason |libxml2: autoyast schema check fails for unknown |(interleave) |reason (interleave) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=222956 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|libxml2: autoyast schema check fails for unknown|[upstream] libxml2: autoyast schema check fails |reason (interleave) |for unknown reason (interleave) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=222956 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=222956#c10 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |Future/Later for Fix| | --- Comment #10 from Pavol Rusnak <prusnak@novell.com> 2008-07-23 08:06:17 MDT --- Closing. Tracked in upstream bugzilla. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=222956 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=222956#c11 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://bugzilla.gnome.org/show_bug.cgi?id=400223 Resolution|FIXED |UPSTREAM Summary|[upstream] libxml2: autoyast schema check fails |libxml2: autoyast schema check fails for unknown |for unknown reason (interleave) |reason (interleave) --- Comment #11 from Pavol Rusnak <prusnak@novell.com> 2008-08-19 02:23:25 MDT --- Changed resolution to upstream and added URL -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com