https://bugzilla.novell.com/show_bug.cgi?id=473691 Summary: Allow pattern Element in start Pattern (file patterns.rnc) Classification: openSUSE Product: openSUSE 11.2 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: thomas.schraitle@novell.com QAContact: qa@suse.de Found By: Documentation The patterns.rnc file from http://svn.opensuse.org/svn/zypp/trunk/libzypp/zypp/parser/yum/schema contains the following line include "suse-primary.rnc" { start = element-patterns } However, when you run "osc meta pattern -e PRJ PATTERN" you get this lines: <!-- See http://svn.opensuse.org/svn/zypp/trunk/libzypp/zypp/parser/yum/schema/patter... --> <pattern> </pattern> Unfortunately, this wouldn't be valid according to patterns.rnc as there is only the patterns element (plural!) allowed. Probably an oversight? :) I would suggest to allow the pattern element too and extend the start pattern as follows: include "suse-primary.rnc" { start = element-patterns | element-pattern } This would avoid validation errors with patterns.rnc. -- 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.