OASIS XML Localisation Interchange File Format (XLIFF) TC

  • 1.  Online validation for XLIFF

    Posted 01-20-2021 16:28
    Hi, The initial implementation for the online XLIFF validator suggested yesterday by Yoshito is now available at  https://dev.maxprograms.com/Validation /  Source code is on GitHub, at  https://github.com/rmraya/XLIFFValidation The validator is based on OpenXLIFF filters and published under the same license terms, Eclipse Public License (EPL). The validator page has a button for selecting a file and validation results are published as soon as you upload something. There is no text explaining what the tool does and how to interpret the results. I'll need your input on the text to put in that page. Best regards, Rodolfo -- Rodolfo M. Raya Maxprograms http://www.maxprograms.com


  • 2.  Re: [xliff] Online validation for XLIFF

    Posted 01-20-2021 16:52
    Thanks Rodolfo, > The initial implementation for the online XLIFF validator suggested > yesterday by Yoshito is now available at https:// > dev.maxprograms.com/Validation/ I played with the online validator a little bit. I found something interesting case. Here is the minimal case illustrating the case I found: === <xliff xmlns = "urn:oasis:names:tc:xliff:document:2.0" version = "2.0" srcLang = "en" > <file id = "f1" > <unit id = "u1" > <segment id = "s1" > <source></source> </segment> </unit> </file> </xliff> === The validator returns an error for this XLIFF file with error message: Reason: Empty <source> element I read XLIFF specification and checks whether empty text in <source> element is really invalid. I could not find such description. Can someone point out why empty <source> element is invalid? -Yoshito


  • 3.  Re: [xliff] Online validation for XLIFF

    Posted 01-21-2021 16:31
    Hi Rodolfo, Nice work! I will check it out and provide feedback. - Bryan On Wednesday, January 20, 2021, 8:28:03 AM PST, Rodolfo M. Raya <rmraya@maxprograms.com> wrote: Hi, The initial implementation for the online XLIFF validator suggested yesterday by Yoshito is now available at  https://dev.maxprograms.com/Validation /  Source code is on GitHub, at  https://github.com/rmraya/XLIFFValidation The validator is based on OpenXLIFF filters and published under the same license terms, Eclipse Public License (EPL). The validator page has a button for selecting a file and validation results are published as soon as you upload something. There is no text explaining what the tool does and how to interpret the results. I'll need your input on the text to put in that page. Best regards, Rodolfo -- Rodolfo M. Raya Maxprograms http://www.maxprograms.com --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php


  • 4.  RE: [xliff] Online validation for XLIFF

    Posted 01-21-2021 18:11




    Hello Rodolfo,
    That is impressive.

    I will also check it out and provide feedback.
    Best,
    LucÃa
     


    De : xliff@lists.oasis-open.org <xliff@lists.oasis-open.org>
    De la part de Bryan Schnabel
    Envoyà: 21 January 2021 17:31
    à: xliff@lists.oasis-open.org; Rodolfo M. Raya <rmraya@maxprograms.com>
    Objet : Re: [xliff] Online validation for XLIFF


     


    Hi Rodolfo,


     


    Nice work! I will check it out and provide feedback.


     


    - Bryan


     





    On Wednesday, January 20, 2021, 8:28:03 AM PST, Rodolfo M. Raya < rmraya@maxprograms.com > wrote:



     


     





    Hi,


     


    The initial implementation for the online XLIFF validator suggested yesterday by Yoshito is now available at  https://dev.maxprograms.com/Validation


     


    Source code is on GitHub, at  https://github.com/rmraya/XLIFFValidation


     


    The validator is based on OpenXLIFF filters and published under the same license terms, Eclipse Public License (EPL).


     


    The validator page has a button for selecting a file and validation results are published as soon as you upload something.


     


    There is no text explaining what the tool does and how to interpret the results. I'll need your input on the text to put in that page.


     


    Best regards,


    Rodolfo


    --
    Rodolfo M. Raya
    Maxprograms http://www.maxprograms.com


    --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow
    this link to all your TCs in OASIS at:
    https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php










  • 5.  RE: [xliff] Online validation for XLIFF

    Posted 01-28-2021 18:09




    Dear Rodolfo,
     
    I have been testing your tool with some of the files of the test suite (core>valid, in-out, invalid). I have also tested with some sample 1.2 files. I think this tool would be very valuable for the community of XLIFF
    users.
     
    Here are some suggestions for future developments:
    1. In the error messages, it would be good to include the line number to help the user to quickly locate the error(s).
    2. I think that it would be good also to provide a general sentence with links to the official spec (and the TC comment mailing list, for example), so the user can better understand the nature of the error and find the
    official documentation/information to solve it.
     
    On another note, I have found that in a few files of the test suite there are some <target> elements that do not contain the correct translation. For example, in file nonEmptySkeletonWithoutHref.xlf ,
    the text in the <target> element is not the real French translation of the <source> element:
    <?xml version="1.0"?>
    <xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="fr">
    <file id="f1">
      <skeleton href= >
      <unit id="1">
       <segment>
        <source>source</source>
        <target> target </target>
       </segment>
      </unit>
    </file>
    </xliff>
    I have wrote down all the files that have this issue, we can discuss it in the next meeting, and if we consider this an error, we can fix this it when we will update the test suite.
     
    Best regards,
     
    LucÃa
     
     


    De : xliff@lists.oasis-open.org <xliff@lists.oasis-open.org>
    De la part de Rodolfo M. Raya
    Envoyà: 20 January 2021 17:28
    à: xliff@lists.oasis-open.org
    Objet : [xliff] Online validation for XLIFF


     

    Hi,


     


    The initial implementation for the online XLIFF validator suggested yesterday by Yoshito is now available at  https://dev.maxprograms.com/Validation


     


    Source code is on GitHub, at  https://github.com/rmraya/XLIFFValidation


     


    The validator is based on OpenXLIFF filters and published under the same license terms, Eclipse Public License (EPL).


     


    The validator page has a button for selecting a file and validation results are published as soon as you upload something.


     


    There is no text explaining what the tool does and how to interpret the results. I'll need your input on the text to put in that page.


     


    Best regards,


    Rodolfo


    --
    Rodolfo M. Raya
    Maxprograms http://www.maxprograms.com

    --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at:

    https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php