#621: XIncludes in sandbox-tags result in PHP segfaults
----------------------------------------------------+-----------------------
 Reporter:  [EMAIL PROTECTED]                          |        Owner:  dominik
     Type:  defect                                  |       Status:  new    
 Priority:  normal                                  |    Milestone:  0.11.1 
Component:  config                                  |      Version:  0.11.0 
 Severity:  normal                                  |   Resolution:         
 Keywords:  xinclude output_types sandbox segfault  |  
----------------------------------------------------+-----------------------
Comment (by [EMAIL PROTECTED]):

 Replying to [comment:1 david]:

 > while($doc->xinclude()) {}
 Of course! That should do the trick once and for all...

 > I somehow thought that nested XIncludes were handled automatically by
 PHP

 The funny thing is that if you look at the output of $doc->saveXML() after
 only one call to $doc->xinclude() everything looks allright (nested
 xincludes are resolved and even the returned number of the xincludes is
 correct...). PHP seems to just wrap the libxml2-functions without any
 compatibility checking. That's why some functions fail with nodes of type
 XML_XINCLUDE_* and some others simply succeed.

 Chris

-- 
Ticket URL: <http://trac.agavi.org/ticket/621#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to