- From: Felix Sasaki <fsasaki@w3.org>
- Date: Mon, 11 Dec 2006 13:16:06 +0900
- To: public-i18n-its@w3.org
I looked at 1) http://www.w3.org/International/its/tests/test2/LocNote1-result.xml and 2) http://www.w3.org/International/its/tests/test2/WithinText2-result.xml and have a question: in the case of 1), the result is created by generating a "dummy" <locNote_text> element, which contains the localization note: <node path="/msgList/body[1]/msg[3]" outputType="new-value-global"> <output its:locNoteType="alert"> <its:locNote_Text>The variable <code>{0}</code> has three possible values: 'printer', 'stacker' and 'stapler options'.</its:locNote_Text> </output> </node> in the case of 2), the result is created by copying ITS markup to the <output> element, i.e. the its:withinText attribute: <node path="/myDocument/content[1]/section[1]/p[1]/kw[1]" outputType="new-value-global"> <output its:withinText="yes"/> </node> Why this difference? In the case of 1), there would be an <its:locNote> element available which could be used instead of <its:locNote_Text>, see the rule from LocNote1.xml: <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']"> <its:locNote>The variable <code>{0}</code> has three possible values: 'printer', 'stacker' and 'stapler options'.</its:locNote> </its:locNoteRule> What worries me about the difference of the output for 1) and 2): how does an ITS processor "know" whether it should just generate textual content,like 2), or copy the ITS markup, like 1)? We have not specified that difference anywhere in the draft. And: what would happen in the case of 1) if the localization Note contains markup, e.g. <its:locNote_Text>The <term>variable</term> <code>{0}</code> has three possible values: 'printer', 'stacker' and 'stapler options'.</its:locNote_Text> would the markup be copied to the output or thrown away? Cheers, Felix
Received on Monday, 11 December 2006 04:16:36 UTC