[SAK-27417] Modify email template parsing to use SimpleXML rather than StAX directly Created: 09-Feb-2010  Updated: 15-Jul-2014  Resolved: 08-Sep-2010

Status: Closed
Project: Sakai
Component/s: Profile
Affects Version/s: None
Fix Version/s: 2.8.0

Type: Task Priority: Critical
Reporter: Steve Swinsburg Assignee: Steve Swinsburg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depend
depends on SAK-19117 Processing of email templates is failing Closed
depends on SAK-19118 Email template processing skips the r... Closed
depends on SAK-17637 Make loading/updating of templates a ... Closed
Relate
relates to SAK-17938 Switch to Java 1.6 (Without any worka... Closed

 Description   

Modify email template parsing to use SimpleXML rather than StAX directly. Already implemented for a local project, very simple and powerful to use (no pun).

http://simple.sourceforge.net/

Apache 2 license



 Comments   
Comment by Matthew Buckett [ 10-Mar-2010 ]

According to Steve on the mailing list the use of StAX breaks profile 2 from starting up in JDK 1.5

Comment by Steve Swinsburg [ 10-Mar-2010 ]

Correct, and using SimpleXML should resolve that.

Comment by Adrian Fish [ 22-Jun-2010 ]

This functionality should, IMHO, be in the actual emailtemplateservice so other stuff can use it.

Comment by Steve Swinsburg [ 18-Aug-2010 ]

SAK-17637 is now in, so can remove this code. Increased priority so I pick it up.

Comment by Steve Swinsburg [ 08-Sep-2010 ]

There is a bug in ETS, but I have a fix, see SAK-19117

Comment by Steve Swinsburg [ 08-Sep-2010 ]

r82164

Comment by Steve Swinsburg [ 08-Sep-2010 ]

Note that sending emails will be broken until the SAK-19117 fix goes in, as no templates will be put into the db.

Generated at Sat Nov 25 05:42:32 CST 2017 using JIRA 7.5.0#75005-sha1:fd8c849d4e278dd8bbaccc61e707a716ad697024.