Changes between Version 3 and Version 4 of Doc/panc/stdtpl/types


Ignore:
Timestamp:
Nov 30, 2007, 4:05:45 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/panc/stdtpl/types

    v3 v4  
    5858A value that is either a valid IPv4 or IPv6 network address.
    5959
     60=== type_network_name, is_network_name(string) ===
     61
     62A value that is either a valid host name (with domain), IP address, has the form ".domain", or the form "IP/mask".
     63
    6064== Hostname-Related Types ==
    6165
     
    8084A value of the form "hostname:port".  The individual component are verified to be also correct.
    8185
     86== Web and Email Types ==
    8287
     88=== type_URI, is_URI(string) ===
    8389
     90This defines an URI according to RFC2396.  Note that this is the most general URI which allows opaque URIs, hostbased URIs, and relative URIs. You may want a more specific-type for a particular value.
    8491
     92=== type_absoluteURI, is_absoluteURI(string) ===
     93
     94This defines an absolute URI according to RFC2396.  This is just a valid URI with the scheme explicitly included.
     95
     96=== type_hostURI, is_hostURI(string) ===
     97
     98This defines an URI according to RFC2396.  A host-based URI is an absolute URI with a non-empty host field.
     99
     100=== type_email, is_email(string) ===
     101
     102Defines a valid email address; both the receipient and domain must be specified.
     103
     104== Miscellaneous ==
     105
     106=== type_lowercase, is_lowercase(string) ===
     107
     108Returns false if the string contains any of the characters A-Z; returns true otherwise.
     109
     110=== type_uppercase, is_uppercase(string) ===
     111
     112Returns false if the string contains any of the characters a-z; returns true otherwise.
     113