OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • To: Liam Quin <liam@w3.org>
  • Subject: Re: [xml-dev] how to use xml:base and relative URLs with SAX/Java?
  • From: Anil Philip <goodnewsforyou@yahoo.com>
  • Date: Sat, 10 Dec 2005 14:09:45 -0800 (PST)
  • Cc: xml-dev@lists.xml.org
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HNFjmo5ubrNOfCv7uSBPcgLtK//a6drjdozcIGiHKEc1UTpoqn7cNxYaOsdGjCB6jWxnMutuDxB6M0l6XtQbnoXaudnvsxmhvtqyY+mZ1shfJOyuvEVGedzrHf1ijq8pFu86QBJ06XW15m+n/ROUuWvNJXUt7KunWLB4CaR/OU8= ;
  • In-reply-to: <20051210183245.GE8981@w3.org>

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 <liam@w3.org> 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 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS