OASIS XML Localisation Interchange File Format (XLIFF) TC

  • 1.  csprd02 - 112 (Problems validating XLIFF files with 2.0 schemas)

    Posted 10-13-2013 20:07
    Hi all, Thanks for the updated XSDs Tom. It works a lot better now. I've added an option in Lynx to do schema validation (using a copy of the official XSDs) followed by processing the input file and checking for various issues. I wouldn't say it's going to catch everything. But when it's done it should catch any error against the schemas, as well as most PR issues for the Core (and only for the Core). The command-line looks like this: lynx -v firsDoc.xlf secondDoc.xlf ectDoc.xlf One problem I'm running into is the slowness of the validation: both loading the schema and performing the validation seem to take a lot more time than expected. Maybe this is related to fetching some default schema for the XML namespace? Or to the processing of the includes? If anyone has some tips about XSD validation with Java, I'm listing. cheers, -ys


  • 2.  RE: [xliff] csprd02 - 112 (Problems validating XLIFF files with 2.0 schemas)

    Posted 10-14-2013 21:49
    Yves, I use (and really like) XSV 3.1-1 for all my command line schema validations. I think the source files are harder to find now. I think the Python distribution looks pretty complete (but I have not tested it). Don't know how useful Python is for you (since you specifically asked for Java).


  • 3.  RE: [xliff] csprd02 - 112 (Problems validating XLIFF files with 2.0 schemas)

    Posted 10-15-2013 12:08
    Thanks Bryan, I was looking for a Java solution. It seems either the Xerces validator used in the Oracle JVM is really slow, or something is not optimized with the schemas. One reason for slowness I often see mentioned is the access to the schema for the XML namespace if it's not somewhat cached. -ys