OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: URI sets as handled by POWDER

For those interested in LRDD, I just wanted to point to the spec for  
IRI sets in POWDER:

IRI sets allow you to specify some acceptable values for certain parts  
of an IRI:
\  /   \  / \             / \  /\                / \        / \      /
  --     --   -------------   --  ----------------   --------   ------
   |      |         |          |         |              |        |
scheme iuser    ihost        port     ipath         iquery  ifragment

For each rule about the IRI, a processor generates an equivalent  
regular expression, and these get chained together for a decision rule.

Some examples of how these look:
     <excluderesources>http://www.example.org/stylesheet.css http://www.example.org/jslib.js 
which compiles into two matching regex:
   must match: /(([^\/\?\#]*)\@)?([^\:\/\?\#\@]+\.)?(example\.org)(: 
   must not match: /^(http\:\/\/www\.example\.org\/stylesheet\.css|http 

For those who care about the details:
* "The regular expression syntax used is defined by XML schema as  
modified by XQuery 1.0 and XPath 2.0 Functions and Operators." that's http://www.w3.org/TR/xpath-functions/
* The OWL/RDF property used for this stuff is http://www.w3.org/2007/05/powder-s#matchesregex
* Before matching agaist the regular expression, IRIs are cannocalized  
according to 2.1.4


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]