[Home] [By Thread] [By Date] [Recent Entries]

  • To: XML Developers List <xml-dev@l...>
  • Subject: URL resolution sanity check
  • From: Elliotte Harold <elharo@m...>
  • Date: Sat, 09 Jul 2005 11:54:38 -0400
  • User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

I need to confirm something consider the following situation:

<parent xml:base="http://www.example.com/data/limit/..">
   <child xml:base="test.xml"/>
</parent>

Is the base URL of the child element 
http://www.example.com/data/limit/test.xml or 
http://www.example.com/data/test.xml ?

In other words, is http://www.example.com/data/limit/.. essentially the 
same as http://www.example.com/data/limit/../ or not?

-- 
Elliotte Rusty Harold  elharo@m...
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member