Re: [ACTION-188] closed (Make query language attribute related edits)

On 9.8.2012 14:20, Felix Sasaki wrote:

> "[Ed. note: We need more precise definition how to deal with XPath and
> HTML5 content. We might decide to use modified XPath version where XHTML
> namespace is default and there is no need to use prefixes.]"
> 
> Do you think we don't need that anymore and should just use "normal" XPath
> processing, that is with prefixes?

Yes, I have intentionally removed this part. I'm not aware of any XPath
implementation that is compatible of what is defined in HTML5 spec,
might be some browsers support this in DOM Level 3 XPath API. But
browsers will be rare base of implementation.

Prefixed XPath will work in all implementations.
If someone really do not want use prefixes he can use CSS selectors or
we can introduce default XPath namespace similar to one in XSLT 2.0.

     Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Received on Friday, 10 August 2012 07:12:08 UTC