Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Builder.build and URLs

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: Luca Passani <passani AT eunet.no>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Builder.build and URLs
  • Date: Sun, 8 May 2005 12:57:41 -0400

Luca Passani scripsit:

> Builder.build seems to fail with URLs of this kind:
>
> http://www.accenture.com/xd/xd.asp?it=enweb&xd=ideas\ideas_home.xml

That's because \ in a URI is illegal; it has to be encoded as %5C.
The only legal characters in URIs are the ASCII letters and digits, and the
special characters "-", ".", "_", "~", ":", "/", "?", "#", "[", "]",
"@", "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", and "=".

> is it a bug?

No.

--
By Elbereth and Luthien the Fair, you shall jcowan AT reutershealth.com
have neither the Ring nor me! --Frodo http://www.ccil.org/~cowan




Archive powered by MHonArc 2.6.24.

Top of Page