Ticket #465 (closed enhancement: fixed)

Opened 6 months ago

Last modified 6 months ago

jResponseXML : Génération conditionnelle de l'entête XML

Reported by: sylvain261 Assigned to: laurentj
Priority: normal Milestone: Jelix 1.0.3
Component: jelix:core response Version: 1.0.2
Severity: minor Keywords:
Cc: Php version:
Review: review+ Hosting Provider:
Documentation needed: 1 Blocking: 464

Description

Dans le cas où le flux XML a renvoyé contient déjà l'entête XML il est problématique que la méthode output génère systématiquement l'entête.

Le patch ci joint permet une génération conditionnelle via la propriété membre sendXMLHeader (TRUE par défaut). Le patch corrige également le ticket 464.

Attachments

jResponseXml.class.php (5.0 kB) - added by sylvain261 on 02/25/08 13:24:49.
jResponseXml.class.2.php (4.9 kB) - added by sylvain261 on 02/25/08 17:05:51.
Avec les bons cariage return et les comments en anglaiu
jResponseXml.class.3.php (4.9 kB) - added by sylvain261 on 02/25/08 17:09:21.
Et avec des espaces et pas des tab…

Change History

02/25/08 13:24:49 changed by sylvain261

  • attachment jResponseXml.class.php added.

02/25/08 13:29:20 changed by laurentj

  • review set to review?.
  • severity changed from normal to minor.

02/25/08 15:50:46 changed by laurentj

  • review changed from review? to review-.
  • impossible to do a diff (carriage return problems ?)
  • if should be better if a real diff is given
  • comments in french
  • no copyright/contributor added in the comment header

02/25/08 17:05:51 changed by sylvain261

  • attachment jResponseXml.class.2.php added.

Avec les bons cariage return et les comments en anglaiu

02/25/08 17:09:21 changed by sylvain261

  • attachment jResponseXml.class.3.php added.

Et avec des espaces et pas des tab...

02/25/08 17:52:31 changed by laurentj

  • status changed from new to closed.
  • review changed from review- to review+.
  • resolution set to fixed.

Review ok. Patch landed into the trunk and 1.0.x branch. svn 776.

Thanks for this patch !

02/25/08 18:51:01 changed by laurentj

  • blocking set to 464.

02/27/08 14:18:13 changed by laurentj

  • docneeded set to 1.
Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed