https://bugzilla.novell.com/show_bug.cgi?id=215668
Summary: jing - false positive error (attribute "type" from ... not allowed at this point;...) Product: openSUSE 10.2 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: ke@novell.com ReportedBy: locilka@novell.com QAContact: qa@suse.de CC: mvidner@novell.com
/usr/bin/jing -c /usr/share/YaST2/schema/autoyast/rnc/inetd-bug.rnc /root/7_auto.xml 2>&1
returns: /root/7_auto.xml:17: error: attribute "type" from namespace "http://www.suse.com/1.0/configns" not allowed at this point; ignored
for every: <conf> <enabled config:type="boolean">false</enabled> <iid>1:/etc/xinetd.d/chargen</iid> <protocol>tcp</protocol> <script>chargen</script> <server></server> <service>chargen</service> </conf>
(<service /> is the problematic tag - line 17)
This could cause errors when validating AutoYaST xml profile -> Major
I'll attach rnc and xml file...
https://bugzilla.novell.com/show_bug.cgi?id=215668
------- Comment #1 from locilka@novell.com 2006-10-27 06:51 MST ------- Created an attachment (id=102817) --> (https://bugzilla.novell.com/attachment.cgi?id=102817&action=view) inetd-bug.rnc
https://bugzilla.novell.com/show_bug.cgi?id=215668
------- Comment #2 from locilka@novell.com 2006-10-27 06:51 MST ------- Created an attachment (id=102818) --> (https://bugzilla.novell.com/attachment.cgi?id=102818&action=view) 7_auto.xml
https://bugzilla.novell.com/show_bug.cgi?id=215668
------- Comment #3 from locilka@novell.com 2006-10-27 06:52 MST ------- uncommenting this line # attribute config:type { "boolean" }?, makes the profile valid
thanks to Mvidner...
https://bugzilla.novell.com/show_bug.cgi?id=215668
ke@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@novell.com AssignedTo|ke@novell.com |dbornkessel@novell.com
------- Comment #4 from ke@novell.com 2006-11-07 02:58 MST ------- Daniel, can you help with this problem?
Since more than 3 years no jing update appeared. For relaxng parsing we'd better switch to a different tool (maybe xmllint - in this case xmllint as it comes with 10.1 seems to fail as well, though).
https://bugzilla.novell.com/show_bug.cgi?id=215668
------- Comment #5 from mvidner@novell.com 2006-11-07 03:10 MST ------- We do use xmllint for RNG, but it is human-unfriendly so we use jing for RNC, the compact text syntax.
I will happily try anything that can work with RNC :)
https://bugzilla.novell.com/show_bug.cgi?id=215668
------- Comment #6 from ke@novell.com 2006-11-07 03:45 MST ------- Yes, I thought about converting RNC to RNG (with trang) and then using RNG for validation only. But in this case also libxml2 fails after converting RNC to RNG.
RNC seems to be widely unsupported ;)
https://bugzilla.novell.com/show_bug.cgi?id=215668
dbornkessel@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ke@novell.com
------- Comment #7 from dbornkessel@novell.com 2007-02-14 04:22 MST ------- uhm ... sorry for the long delay ... this bug went off my radar somehow. @karl: What can I do here to help ... or is this problem not current anymore?
https://bugzilla.novell.com/show_bug.cgi?id=215668#c8
daniel bornkessel dbornkessel@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dbornkessel@novell.com |prusnak@novell.com Status|NEEDINFO |NEW Info Provider|ke@novell.com |
--- Comment #8 from daniel bornkessel dbornkessel@novell.com 2007-06-25 02:07:46 MST --- assigning bug to maintainer ... don't know what I could do here.
https://bugzilla.novell.com/show_bug.cgi?id=215668
Pavol Rusnak prusnak@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.novell.com/show_bug.cgi?id=215668
Pavol Rusnak prusnak@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low
https://bugzilla.novell.com/show_bug.cgi?id=215668
User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=215668#c9
Pavol Rusnak prusnak@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #9 from Pavol Rusnak prusnak@novell.com 2008-11-27 06:44:30 MST --- Jing/Trang update to 20081028 fixes that ...