Re: [xml-dev] how to use xml:base and relative URLs with SAX/Java?

From
Anil Philip <>
To
Liam Quin <>
Date
2005-12-10T22:09:45Z
ID
<>
Thread
Re: [xml-dev] how to use xml:base and relative URLs with SAX/Java?
Sorry, but I am having difficulty figuring out how to
do this; I thought xml:base was a keyword in the
language?
Do you have any examples of schema that define and use
relative URLs; that I can look at and use as a guide?
I would appreciate it.
thanks,
Anil
P.S. I think the Promised Land is "milk and honey",
not milk and treacle. Growing up on Enid Blyton, I've
always wanted to know what treacle was - I know
molasses, syrup, maple syrup.. but treacle?

--- Liam Quin <> wrote:


> 
> There were three parts to my "fix" -- (1) you need
> to use
> a hierarchical URI scheme in order for xml:base to
> do
> what you want, and (2) you need to modify the schema
> to allow the xml:base attribute... as Mike Kay
> pointed
> out, you'll need to "go complex" to do this... (3)
> you
> need to take parent elements into account, since
> xml:base
> affects all its descendents -- in your case you may
> be
> able to get away without doing this because you're
> supplying xml:base directly everywhere it's needed.
> 
> I wasn't very clear before, sorry.
> 
> 
> In an ideal world where the rivers flowed with milky
> treacle (I
> never did understand that metaphor, but swimming in
> the Promised
> Land would be interesting) we (W3C) would republish
> the


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com