1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    18
    Vote Rating
    0
    wdonne is on a distinguished road

      0  

    Default Ext.DOMQuery and XML namespaces

    Ext.DOMQuery and XML namespaces


    Hi,

    Are there plans to support XML namespaces in the CSS3 selectors as described in http://www.w3.org/TR/2005/WD-css3-se...215/#typenmsp? This is relevant for Ajax responses that are formatted in XML, but also for the document tree in the browser, because there can be parts in other namespaces.

    For this to work the Ext.DOMQuery class would need a way to declare namespace prefixes, analogous to the @namespace rules in CSS3. This way the selectors can use the prefixes defined in the application, regardless of the prefixes used in the document.

    Currently the only safe way to query a DOM tree with namespaces is to strip all prefixes first. This can of course lead to local name clashes, but this is still more robust than relying on prefixes, because these can be chosen freely by a server.

    Best regards,

    Werner Donné.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    18
    Vote Rating
    0
    wdonne is on a distinguished road

      0  

    Default


    I have seen most of those, but they are about parsing prefixes. People seem to try to use the namespace prefixes that are in the document in their selectors. This is wrong. Namespace URIs should be matched instead, which is why the application should be able to declare its own prefix to namespace URI mapping and use that in its selectors. There also seems to be confusion about the prefix syntax in CSS3, which uses "|" as a separator instead of ":".

Similar Threads

  1. xml namespaces with Ext.DomQuery
    By fshort in forum Ext 1.x: Help & Discussion
    Replies: 13
    Last Post: 30 Jul 2012, 4:47 AM
  2. namespaces
    By dke01 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 4 Jul 2009, 6:08 AM
  3. xml namespaces
    By sekaijin in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 12 Mar 2008, 11:12 AM
  4. How to use namespaces?
    By LeonardoAP in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 24 Jan 2008, 5:35 AM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi