[relaxng-user] Pattern.

David.Pawson at rnib.org.uk David.Pawson at rnib.org.uk
Tue Nov 25 08:16:47 ICT 2003


 

    -----Original Message-----
    From: John Cowan 

    What you are trying to do is not possible.
    You need to use a WXS pattern instead.
<snip/>
    The list pattern can only cope with whitespace-separated 
    items, not with arbitrary concatenations.
Mmm. OK. Thanks John. That answers a question I had on dates
as dd/mm/yyyy. Worked with spaces, not without.
    
    In any case, the RFC 3066 language codes are an open set.  
    You should either accept any arbitrary string of ASCII 
    alphas, digits, and hyphen (you can rule out initial, 
    final, and consecutive hyphens if you like), or else a 
    fixed set of values that your application understands.

Will do.

Many thanks.

regards DaveP.


- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 


More information about the relaxng-user mailing list