Re: [PHP-XML-DEV] Problem with XML_XUL

[email protected] (Christian Stocker) Sun, 29 Aug 2004 15:59:17 +0200
Newsgroups php.xml.dev
Message-ID <[email protected]>
Wrong list.

ask on pear-general, please

chregu

On 29.8.2004 9:41 Uhr, Igo wrote:

> Hello.
> Sorry for my bad english.
> I have the problem with XML_XUL 0.8.1. Examples don`t  work from 
> XML_XUL-0.8.1/examples.
> windowsXP, PHP Version 4.3.1
> XML_Util-0.6.1, XML_XUL-0.8.1,XML_Beautifier-1.1,PEAR-1.3.1
> 
> I wrote
> //------
> error_reporting(E_ALL);
> require_once 'XML/XUL.php';
> $doc = &XML_XUL::createDocument( );
> $doc->addStylesheet('chrome://global/skin/');
> $win = &$doc->createElement('Window', array('title'=> 'Example for 
> PEAR::XML_XUL'));
> $doc->addRoot($win);
> $doc->send();
> //------
> 
> resault
> 
> <br />
> <b>Notice</b>:  Undefined property:  _htmlNs in 
> <b>e:\xul\pear\XML\XUL\Element.php</b> on line <b>456</b><br />
> <br />
> <b>Notice</b>:  Undefined variable:  content in 
> <b>e:\xul\pear\XML\XUL\Element.php</b> on line <b>469</b><br />
> <?xml version="1.0"?>
> 
> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
> <window title="Example for PEAR::XML_XUL" 
> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" />
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB