developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#465 closed enhancement (fixed)

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

Reported by: sylvain261 Owned by: laurentj
Priority: normal Milestone: Jelix 1.0.3
Component: jelix:core response Version: 1.0.2
Severity: minor Keywords:
Cc: Blocked By:
Blocking: #464 Documentation needed: no
Hosting Provider: Php version:

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 (3)

jResponseXml.class.php (5.0 KB) - added by sylvain261 13 years ago.
jResponseXml.class.2.php (4.9 KB) - added by sylvain261 13 years ago.
Avec les bons cariage return et les comments en anglaiu
jResponseXml.class.3.php (4.9 KB) - added by sylvain261 13 years ago.
Et avec des espaces et pas des tab…

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by sylvain261

comment:1 Changed 13 years ago by laurentj

  • review set to review?
  • Severity changed from normal to minor

comment:2 Changed 13 years ago 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

Changed 13 years ago by sylvain261

Avec les bons cariage return et les comments en anglaiu

Changed 13 years ago by sylvain261

Et avec des espaces et pas des tab...

comment:3 Changed 13 years ago by laurentj

  • Resolution set to fixed
  • review changed from review- to review+
  • Status changed from new to closed

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

Thanks for this patch !

comment:4 Changed 13 years ago by laurentj

  • Blocking 464 added

comment:5 Changed 13 years ago by laurentj

  • Documentation needed set

comment:6 Changed 12 years ago by laurentj

  • Documentation needed unset
Note: See TracTickets for help on using tickets.