OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

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

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

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.


-----Original Message-----
From: Schnabel, Bryan S [mailto:bryan.s.schnabel@tektronix.com] 
Sent: Monday, October 14, 2013 3:49 PM
To: Yves Savourel; xliff@lists.oasis-open.org
Subject: RE: [xliff] csprd02 - 112 (Problems validating XLIFF files with 2.0 schemas)


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).

-----Original Message-----
From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel
Sent: Sunday, October 13, 2013 1:07 PM
To: xliff@lists.oasis-open.org
Subject: [xliff] csprd02 - 112 (Problems validating XLIFF files with 2.0 schemas)

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.


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

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