OASIS XML Localisation Interchange File Format (XLIFF) TC

 View Only

RE: [xliff][follow-up] FW: Degrees of constraint

  • 1.  RE: [xliff][follow-up] FW: Degrees of constraint

    Posted 07-27-2004 20:52
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    xliff message

    [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


    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
    
    
    
    


    [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]