XML name spaces

David Bovill david.bovill at gmail.com
Fri Jun 19 11:58:33 EDT 2009


Ooooh! Ugly :)

Go on just vote for it - you know you want to (especially if you want to
allow colons or even smileys in RSS fields from your shiny blog :)

2009/6/19 Andre Garzia <andre at andregarzia.com>

> David,
> Praise the Gods of Hack! do this before creating the xml
>
> replace ":" with "-" in tXML
>
> and put the colons back afterwards. :-)
>
> then you can query for xmlns-atom or xmlns-content
>
> :P
>
> (if your content has colons in it, then replace the namespaces)
>
> On Fri, Jun 19, 2009 at 10:56 AM, David Bovill <david at architex.tv> wrote:
>
> > Shameless plug for votes for this bug report:
> >
> > While the xmlns issue is fixed we still can't use the common and basic
> name
> > spaces in attributes. Take this RSS example and try it in the message
> box:
> >
> > get "<?xml version='1.0' encoding='UTF-8'?><rss version='2.0'
> xmlns:atom='
> > > http://www.w3.org/2005/Atom' xmlns:content='
> > > http://purl.org/rss/1.0/modules/content/'><channel></channel></rss>"
> > > put revCreateXMLTree(it, true, true, false) into treeID
> > > put revXMLAttributes(treeID, "rss", tab, CR)
> > >
> >
> > Only one value for "xmlns" is returned. We cannot work with any number of
> > XML based web services until this matter is resolved. The example is just
> a
> > common example, but it comes up very often with most of the major web
> > services. What we need returned is the entire attribute name including
> the
> > name space - so "xmlns:atom" and "xmlns:content" - there is very little
> > point in returning the name space without the attribute name.
> >
> > If others are having this issue could you vote on the report found
> > here<http://quality.runrev.com/qacenter/show_bug.cgi?id=7586>- it
> > applies to any handler dealing with XML attributes not justt
> > revXmlAttribute
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list