Hi Martin,
No there is not. You can run the XML Validation using the XLIFF 1.2 schema of course, but that won’t check anything more than wellformness and the schema.
-ys
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
A standalone project under the okapi umbrella makes sense to me. We could even make the project more general so that we can add other formats in the future. I'm sure there would be a lot of code sharing for schema validation.
Jim
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
Maybe I misunderstood. Are we thinking of forking the code?
In that case it should be an independent bitbucket project under
the okapiframework team. Our trend is to move more code out of the
main okapi into separate projects - we have already done this for
a number of sub-projects like longhorn. Hopefully the UI code will
be next. At some point I would like to see "core" okapi with only
filters, writers, segmentation and a few commonly used steps and
libs.
Jim
>>We can probably keep things "as is" for now, and validate "both ways"
+1 with the plan to deprecate lib-verification ValidateXliffSchema eventually and add more modern libraries and standards (e.g., RelaxNG/schematron) in the new project.
We should name the new project something generic like
"Localization XML Validators" - then use the forked code to slowly
add new validators - for example there is also a tmxchecker that
probably uses similar code.
Jim
Personally I think third party project is too big - but common
validators for xliff, tbx, tmx, srx, etc.. sounds like a good
sweet spot.
>> I wonder it is not cleaner / easier to start something from scratch, with a focus on reuse.
+1
My hope is that any new project would rely more on RelaxNG/Schematron (xml schema/DTD is so old school :-)) - plus whatever custom checking we think is good.
In the near future I might have time to work on a new TBX
validator - which could seed the new project if not started by
then.
Another project to learn from is: https://sourceforge.net/p/tbxutil/git/ci/master/tree/
But this one is old, last commit 2012.
Jim
>>Should we call it something "Okapi validation tools"?
Should we aim to make it available through Maven central, too?
That's a good name. Ideally we would have full cloudbees,
integration test and maven central support, but that is optional
in the short term, IMHO.
J
For new okapi sub-projects the bitbucket pipelines plugin may be
much easier than cloudbees. This could reduce our admin overhead
and still give us automated testing and building. It's free for
now - but may be $$$ in the future. Mihai has played with this for
the okapi main project.
https://confluence.atlassian.com/bitbucket/get-started-with-bitbucket-pipelines-792298921.html
Jim
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
Looks like there are some workarounds for artifact hosting, but
I'm not as worried about that initially for the sub-projects. I
mostly would like to see things like unit, integration tests, code
analysis etc..
See: https://bitbucket.org/simpligility/ossrh-pipeline-demo
You are right the build and unit tests are very easy to setup in pipleline! I didn't realize this had been working for okapi.
Jim
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
>> I wonder it is not cleaner / easier to start something from scratch, with a focus on reuse.
> +1
>
> My hope is that any new project would rely more on
RelaxNG/Schematron
> (xml > schema/DTD is so old school :-)) - plus
whatever custom checking we think is good.
>
> In the near future I might have time to work on a new TBX
validator - which could
> seed the new project if not started by
then.
>
> Another project to learn from is:
https://sourceforge.net/p/tbxutil/git/ci/master/tree/
>
> But this one is old, last commit 2012.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel+unsubscribe@googlegroups.com.
Good timing. I really need a good xliff 2 validator. We are starting to get xliff 2 that is non conformant.
Does anyone know of a web based xliff 2 validator?
Jim
--
For XLIFF2: http://okapi-lynx.appspot.com/validation
With some file size limitation.
For large files you can use the Lynx tool (shipped with the Okapi XLIFF Toolkit), or just load the XLIFF2 file with XLIFFReader.
-ys
Nice, I knew about this lynx tool but didn't know you had deployed to the web.
Is this something we want to port over to the validator project? I would like to have all the best/latest XML tools in one place with a consistent framework for all formats.
Do you know of RelaxNG/Schematron files for xliff 2?
Jim
Ø Is this something we want to port over to the validator project? I would like to have all the best/latest XML tools in one place with a consistent framework for all formats.
It would make sense. And it should be relatively easy.
Ø Do you know of RelaxNG/Schematron files for xliff 2?
There is a set of schematron files planned for 2.1.
Which, hopefully may be able to validate 2.0 files (but I’m not sure).
-ys