[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML support in browsers?

  • From: nico <ndebeiss@gmail.com>
  • To: COUTHURES Alain <alain.couthures@agencexml.com>, Robert Koberg <rob@k...>, Jim Tivy <jimt@b...>, xml-dev@l..., xsltforms-support@l...
  • Date: Mon, 8 Jun 2009 10:41:18 +0200

Re:  XML support in browsers?
Concerning the lack of namespace axis support in firefox, there is a bug fixed : https://bugzilla.mozilla.org/show_bug.cgi?id=94270 but waiting to be loaded. The last problem is to say if the XSLT expression :

<xsl:value-of select="string(count(nsa:data/descendant-or-self::*/namespace::*))"/>

on that test :

<nsa:testsuite xmlns:nsa="http://www.mozilla.org/firefox/xslt/namespace-axis">
   ...
    <nsa:test id="20">
        <nsa:assertion expectedvalue="3" uri="http://www.w3.org/TR/xpath#namespace-nodes">The
            'nsa:data' element sub-tree has a total of 3 namespace nodes.</nsa:assertion>> <nsa:data>
            <x xmlns:edi="http://ecommerce.example.org/schema">
                <y/>
            </x>
        </nsa:data>
    </nsa:test>
</nsa:testsuite>

must return 3 nodes or 8 , but that is a minor problem I think.

There are still lots of performance issues triggering XSLT in the browser, and in firefox it freezes the whole navigation, which is difficult to accept. I think performance stays the major issue of XML against JSON, used on the client side. Maybe we could trigger XSLT with options which reduce processing time, like disabling namespaces support, or using streaming capabilities.

Nico
http://debeissat.nicolas.free.fr/xsl_tests.php

2009/6/8 COUTHURES Alain <alain.couthures@agencexml.com>
Hi Robert,

Opera not handling the document function, but really, who cares?
Opera is not handling the document() function correctly but it exists.

For XSLTForms (http://www.agencexml.com/xsltforms), my client-side XForms implementation, external schemas are parsed using the document() function. Opera succeeds in loading the external file but there is a confusion at the attribute level : when the namespace definition (let's say xmlns:xs) is written before the @targetNamespace, the @targetNamespace is unseen while xmlns:xs is presented as an attribute (when the namespace definition is moved to last position, it works...) !

Best regards,

Alain Couthures
<agenceXML>
Bordeaux, France

_______________________________________________________________________


XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.