Victor Porton
Usenet Archive
- Joined
- May 31, 2004
- Messages
- 18
- Reaction score
- 0
What can be and what should be xml:base attribute?
Should/can it end with a slash? What to do if it
doesn't end with a slash?
If xml:base="http://xxx.org/aaa/" anything is clear.
But what if xml:base="http://yyy.org/bbb"? Does now href="a.html" mean http://yyy.org/bbb/a.html or http://yyy.org/a.html?
As I read the RFC2396 the base URL of
http://zzz.org/a.html is by default http://zzz.org/a.html what really point to http://zzz.org/. Then base URL of http://yyy.org/bbb should really point to http://yyy.org/? I'm messed.
Should/can it end with a slash? What to do if it
doesn't end with a slash?
If xml:base="http://xxx.org/aaa/" anything is clear.
But what if xml:base="http://yyy.org/bbb"? Does now href="a.html" mean http://yyy.org/bbb/a.html or http://yyy.org/a.html?
As I read the RFC2396 the base URL of
http://zzz.org/a.html is by default http://zzz.org/a.html what really point to http://zzz.org/. Then base URL of http://yyy.org/bbb should really point to http://yyy.org/? I'm messed.