That class is an implementation of RFC 2396 [1] which requires at least
one character after the colon:

absoluteURI   = scheme ":" ( hier_part | opaque_part )
hier_part     = ( net_path | abs_path ) [ "?" query ]
opaque_part   = uric_no_slash *uric
uric_no_slash = unreserved | escaped | ";" | "?" | ":" | "@" |
                "&" | "=" | "+" | "$" | ","
net_path      = "//" authority [ abs_path ]
abs_path      = "/"  path_segments

[1] http://www.ietf.org/rfc/rfc2396.txt?number=2396

I understand that a valid URI requires something after the colon. The issue I ran into was trying to create a Base URI, where I wanted to concatenate a base + relative URI.

The constructor exposed by XMLUri to do this
takes an XMLUri object for the "base" part
 XMLUri::XMLUri(const XMLUri* const      baseURI
              , const XMLCh* const   uriSpec
              , MemoryManager* const manager)

I wanted to use a base URI of "scheme:"   (nothing
after the colon).  This is not possible with the current XMLUri class.

Perhaps creating a Base URI with nothing after
the colon is also illegal.  I could not easily find the appropriate
references to get a definitive answer.

George




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to