[MarkLogic Dev General] cq + firefox = no namespaces

Michael Blakeley michael.blakeley at marklogic.com
Fri Jun 29 08:37:31 PDT 2007


Yep, that's a long-standing bug in the mozilla gecko engine. Vote for it 
to be fixed, if you like.

   https://bugzilla.mozilla.org/show_bug.cgi?id=175946

I'd suggest using the "text" button, especially for large XML results. 
It doesn't display a tree widget, but it's less likely to hide 
information from you.

-- Mike

Steve Christensen wrote:
> Not sure if someone's reported this problem before. 
> 
> In Firefox (2.0.0.4), if I use CQ to display an XML document that
> contains namespaces (specifically, an AGRIS record like the sample here: 
> http://www.fao.org/docrep/008/ae908e/ae908e08.htm#P967_48012 ) 
> I don't see the namespaces on the record.
> 
> If I do the same thing in IE 7, the namespaces are displayed.
> 
> from googling, it appears to be a firefox problem:
> 
>     If the XML is not associated with a stylesheet (e.g. CSS stylesheet
>     or XSLT stylesheet) and if there are no elements in namespaces
>     Mozilla supports (e.g. XHTML namespace, MathML namespace, SVG
>     namespace) then Mozilla applies a default XSLT stylesheet to render
>     the tree of the document in a pretty printed form.
> 
>     If you don't want that then define your own stylesheet and associate
>     it with e.g.  <?xml-stylesheet type="text/css" href="file.css"?>
>     with the XML document.
> 
> 
> 
> -Steve
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4532 bytes
Desc: S/MIME Cryptographic Signature
Url : http://xqzone.marklogic.com/pipermail/general/attachments/20070629/a668d764/smime.bin


More information about the General mailing list