Skip to content

Commit

Permalink
Merge pull request #1 from adaugherity/files_cleanup
Browse files Browse the repository at this point in the history
schema fixes for <files>
  • Loading branch information
ugansert committed Aug 13, 2012
2 parents 50e92b2 + 2efd879 commit 6038ee0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/schema/files.rnc
Expand Up @@ -4,18 +4,16 @@ default namespace = "http://www.suse.com/1.0/yast2ns"
namespace config = "http://www.suse.com/1.0/configns"
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"

y2_files =
file_contents
| file_path
| file_permissions
| file_owner
| file_script
file_src = file_contents
| file_location
files =
element files {
LIST,
element file { y2_files* }+
element file { file_src? & file_path & file_permissions?
& file_owner? & file_script? }+
}
file_contents = element file_contents { text }
file_location = element file_location { text }
file_path = element file_path { text }
file_permissions = element file_permissions { text }
file_owner = element file_owner { text }
Expand Down

0 comments on commit 6038ee0

Please sign in to comment.