Talk:XML/Output: Difference between revisions

From Rosetta Code
Content added Content deleted
(not sure I agree)
(Why not just use a name with special character?)
Line 3: Line 3:
How about extending the task by adding a 'special' name that needs escaping, such as '<None>', and ask for sample output. You would then force entries to handle escaped characters. --[[User:Paddy3118|Paddy3118]] 05:15, 8 June 2009 (UTC)
How about extending the task by adding a 'special' name that needs escaping, such as '<None>', and ask for sample output. You would then force entries to handle escaped characters. --[[User:Paddy3118|Paddy3118]] 05:15, 8 June 2009 (UTC)
: On one level that'd be good, but on another it's not so good. (XML docs aren't supposed to contain magic flag values in text nodes; that's what using a different elements is for...) —[[User:Dkf|Donal Fellows]] 09:00, 8 June 2009 (UTC)
: On one level that'd be good, but on another it's not so good. (XML docs aren't supposed to contain magic flag values in text nodes; that's what using a different elements is for...) —[[User:Dkf|Donal Fellows]] 09:00, 8 June 2009 (UTC)
:: Why not simply have a name in the list which includes something with a named entity, like the German "Jürgen" ("J&amp;uuml;rgen") or the french "André" ("Andr&amp;eacute;")? --[[User:Ce|Ce]] 09:18, 8 June 2009 (UTC)

Revision as of 09:18, 8 June 2009

You need to separate the task description fully from the example so others can follow the description alone. --Paddy3118 19:43, 28 December 2008 (UTC)

How about extending the task by adding a 'special' name that needs escaping, such as '<None>', and ask for sample output. You would then force entries to handle escaped characters. --Paddy3118 05:15, 8 June 2009 (UTC)

On one level that'd be good, but on another it's not so good. (XML docs aren't supposed to contain magic flag values in text nodes; that's what using a different elements is for...) —Donal Fellows 09:00, 8 June 2009 (UTC)
Why not simply have a name in the list which includes something with a named entity, like the German "Jürgen" ("J&uuml;rgen") or the french "André" ("Andr&eacute;")? --Ce 09:18, 8 June 2009 (UTC)