[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xliff][follow-up] FW: Degrees of constraint
My purpose for using extension points would be to sprinkle terminology data inside the source and inside the target elements, and to interject localization directives, potentially in both as well. So, to address your question, yes, these may introduce some structure, although I assume a lean structure. <Gérard\> -----Original Message----- From: Yves Savourel [mailto:email@example.com] Sent: Tuesday, July 27, 2004 1:52 PM To: firstname.lastname@example.org Subject: RE: [xliff][follow-up] FW: Degrees of constraint Hi all, The idea of the <Extend> element is certainly a smart workaround. However, I'm starting to get worried about the amount of complexity this is going to entails, and the large tree structure we going to end-up with. Maybe (I'm just thinking aloud here), we could do with a simpler approach with a little bit less flexibility, but still have enough to work with. Imagine we define rules the two following rules as for what type of elements can be used in extension: 1- The content of any extension elements inside a <source> or a <target> must be part of the content of <source> or <target>. In other words, we don't allow extension element that have a content not belonging to the original text (like embedded comments). The only elements allowed are the one that can "bracket" existing content (like <htm:b>). This way tools can just treat them like <mrk> elements. 2- Extension elements that are empty are just treated like <mrk/>. Another way to express this is to say that if you strip out the tags inside a <source> or a <target> you should get the plain text content of the <source> or <target>, nothing more, nothing less. This way there is no need for special attributes to put in the extension elements to tell the tool how to deal with them: you just treat them like <mrk> elements a little bit special. I don't think there a way to enforce such rules through a formal validation using a schema. But maybe it's OK to not have a way to validate this, as it seems logical (at least to me) to have only extension markup that add layers of information on top of the existing text. Information not part of the text can always be inserted using attributes in the extension elements. By allowing extension in <source> and <target> we don't have the intend of allowing to create new structures inside <source> and <target>, do we? But maybe I'm trying to get away with something too simple and not formal enough... 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.php.