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] XSLT and URI processing

[ Lists Home | Date Index | Thread Index ]

> Michael Kay wrote:
> > Between them, I think the XPath 2.0 functions base-URI() [1] and
> > resolve-URI() [2] should meet your needs. If not, please raise a 
> > comment on the document.
> > 
> > [1] http://www.w3.org/TR/xquery-operators/#func-base-uri
> > [2] http://www.w3.org/TR/xquery-operators/#func-resolve-URI
> 
> On base-URI, it says that it returns the "base URI property" 
> I'm guessing that this includes xml:base - does it?
> 
> The resolve-URI specification claims it returns "relative" on 
> an absolute URI when I think it means "$relative".

Thanks, I'll pass this correction to the editors.
> 
> I know these are rough specs, but this is pretty tricky to 
> connect to xml:base overall.

Yes, you have to be prepared to follow a few indirections:

The XPath data model [3] defines the base URI property in terms of the
[base URI] property of the InfoSet.

The InfoSet [4] says that certain information items have a base URI
property, and says that they are computed as defined in XML Base.

XML Base [5] defines how the base URI property depends on xml:base. 

[3] http://www.w3.org/TR/query-datamodel/
[4] http://www.w3.org/TR/xml-infoset/
[5] http://www.w3.org/TR/xmlbase/

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.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