FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 07-24-2008, 04:37 PM
 
Default Fix Relax-NG pattern matching

# HG changeset patch
# User john.levon@sun.com
# Date 1216917462 25200
# Node ID 4b889eda816bdb1b3bff21fd8a2a89029813a1a2
# Parent cd648dc6a9492fe3b703e5ebc7f43d05bb03adeb
Fix Relax-NG pattern matching

Don't use unescaped meta-characters in the patterns.

Signed-off-by: John Levon <john.levon@sun.com>

diff --git a/doc/image.rng b/doc/image.rng
--- a/doc/image.rng
+++ b/doc/image.rng
@@ -236,7 +236,7 @@
</define>
<define name='genericName'>
<data type='string'>
- <param name="pattern">[A-Za-z0-9_.:/+-]+</param>
+ <param name="pattern">[A-Za-z0-9_.+-:/]+</param>
</data>
</define>
<define name='fileName'>
@@ -246,12 +246,12 @@
</define>
<define name='relFilePath'>
<data type='string'>
- <param name="pattern">[a-zA-Z0-9_+-%.][a-zA-Z0-9_+-%./]*</param>
+ <param name="pattern">[a-zA-Z0-9_.+-%][a-zA-Z0-9_.+-%/]*</param>
</data>
</define>
<define name='deviceName'>
<data type='string'>
- <param name="pattern">[a-zA-Z0-9_-:./]+</param>
+ <param name="pattern">[a-zA-Z0-9_.-:/]+</param>
</data>
</define>
<define name="verString">

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 03:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org