commit: framework/Xml_Element/lib/Horde/Xml Element.php framework/Xml_Element/test/Horde/Xml/Element ElementTest.php

"Chuck Hagenbuch" <[email protected]>
Newsgroups gmane.comp.horde.cvs
Message-ID <[email protected]>
chuck       2008-09-24 16:57:16 EDT

  Modified files:
    Xml_Element/lib/Horde/Xml Element.php 
    Xml_Element/test/Horde/Xml/Element ElementTest.php 
  Log:
  given how this class works, it doesn't make sense to allow instantiating a
  Horde_Xml_Element without an element.
  
  pass strings in tests, don't use intermediate DOMDocument objects for no reason.
  
  Revision  Changes    Path
  1.12      +8 -7      framework/Xml_Element/lib/Horde/Xml/Element.php
  1.5       +11 -43    framework/Xml_Element/test/Horde/Xml/Element/ElementTest.php

  Chora Links:
  http://cvs.horde.org/diff.php/framework/Xml_Element/lib/Horde/Xml/Element.php?r1=1.11&r2=1.12&ty=u
  http://cvs.horde.org/diff.php/framework/Xml_Element/test/Horde/Xml/Element/ElementTest.php?r1=1.4&r2=1.5&ty=u

--
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.