[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xliff] HTML Inline codes
Yves, The comments from David, Bryan and Shigemichi are very insightful. They show that segmentation is really part of the issue. Originally I was thinking to have <br> not be inline, therefore creating a new segment (i.e., new <source> element). But I've dealt with C-style strings with "\n" in them and represented the line break as <x ctype="lb"/>, which is inline. I think it's safer to represent tags as inline in XLIFF because it gives the translator more flexibility in word order than to have a logical segment separated into multiple <source> elements. However, I wouldn't necessarily require all the inline tags to be inline. Segmentation, whether human or machine, may decide that <br> should not be inline in a particular instance. This was Shigemichi's point with his example of two sentences within a paragraph, one of which was bolded. Eg., <p><b>Sample text.</b> Another text.</p>. Here the segmentation breaks semantically at the sentence level rather than at the HTML tag level. Here are my comments on the HTML tags. [ ] applet = allows PCDATA, mixed, wrapper for <param> [ ] bgsound = empty [ ] body = allows PCDATA [ ] br = inline [ ] center = NOT empty, allows PCDATA [ ] del = inline [ ] dir = NOT mixed, just a wrapper [ ] embed = NO PCDATA [ ] frame = NO PCDATA [ ] frameset = NO PCDATA [ ] ia = NOT HTML?? [ ] iframe = mixed [ ] listing = depends on browser [ ] marquee = mixed [ ] menu = NOT mixed [ ] nobr = not rendered, so neither inline nor block [ ] object = inline, mixed, wrapper for <param> [ ] param = not rendered, so neither inline nor block [ ] plaintext = tags not rendered (supported by NS 6) [ ] script = inline [ ] spacer = empty [ ] xml = mixed [ ] xmp = tags not rendered Regards, Doug Domeny Software Analyst Ektron, Inc. +1 603 594-0249 x212 http://www.ektron.com -----Original Message----- From: Yves Savourel [mailto:ysavourel@translate.com] Sent: Tuesday, October 19, 2004 3:35 PM To: 'xliff' Subject: [xliff] HTML Inline codes Hi everyone, I've posted the list of HTML element and their inline (vs. not-inline) properties. There is also (highlighted in yellow) list of inline codes for some commercial tools. Since there are discripancies I guess we have to come up with our own list. The file is here: http://www.oasis-open.org/apps/org/workgroup/xliff/download. php/9727/inline-codes.htm Cheers, -yves To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/xliff/members/leave_workgroup.p hp.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]