RE: URI handling in RDF/XML generation
From: "Stuckman, Jeffrey C."
Subject: RE: URI handling in RDF/XML generation
Date: Mon, 23 Nov 2009 19:09:42 -0500
My previous e-mail was somehow corrupted and the code contains
extra characters.
Here is a cleaned version of my patched method:
function splitURI($uri) {
return preg_match('|^(.*?)([A-Z_a-z][-A-Z_a-z0-9.]*)$|S',$uri,$m)
? array($m[1], $m[2])
: array($uri);
}
I apologize for the inconvenience.
Jeff
