Hi everyone!
I have started using base-x recently and i have a question that it may be naive, but i can't find a solution. In the last version of the db you can use xslt transformation and i have been trying to do the same with xsd validation.
I mean, validate xml documents through a xsd validator using Xquery... I have tried for a while but i was not able to find a solution to this problem, even using java utilities.
Is there a possible way to validate xml through xsd in base-x?
Sorry for my really bad english and congratulations for yours really well done db!!
Best wishes,
Alberto
Ciao Alberto,
glad you have found BaseX useful, don't worry about your English, I'm sure my Italian is sure worse :)!
Regarding XSD validation, we do not offer a direct integration of validators inside BaseX. This means for the moment you really have to rely on external tools handling that job. Maybe you could elaborate a little more on the way you use BaseX, so the list might provide you with some pointers on where to plug the validator in.
Or even better: I don't know how confident you feel in Java, but as contributions are always welcome you might have a look at [1,2] and try to build your own set of functions.
I hope this helps, feel free to ask for more.
Kind regards
Michael
[1] https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/query/f... [2] https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/query/f...
Am 05.08.2011 um 22:43 schrieb planetcomolli@tin.it:
Hi everyone!
I have started using base-x recently and i have a question that it may be naive, but i can't find a solution. In the last version of the db you can use xslt transformation and i have been trying to do the same with xsd validation.
I mean, validate xml documents through a xsd validator using Xquery... I have tried for a while but i was not able to find a solution to this problem, even using java utilities.
Is there a possible way to validate xml through xsd in base-x?
Sorry for my really bad english and congratulations for yours really well done db!!
Best wishes,
Alberto _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de