From daf2d4bcb4a31df6b46d3da7a33ee3f98d85e464 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 19 Feb 2008 23:48:32 +0000 Subject: added an identifier normalization utility function * moved iname leader characters and whitespace characters strings to opkele::data namespace * added opkele::util::normalize_identifier() function Signed-off-by: Michael Krelin --- (limited to 'include/opkele/util.h') diff --git a/include/opkele/util.h b/include/opkele/util.h index 60955e1..fd974a1 100644 --- a/include/opkele/util.h +++ b/include/opkele/util.h @@ -84,6 +84,8 @@ namespace opkele { */ string rfc_3986_normalize_uri(const string& uri); + string normalize_identifier(const string& usi,bool strip_fragment); + /** * Match URI against realm * @param uri URI to match -- cgit v0.9.0.2