Amara 2 and schematron

24 views
Skip to first unread message

Al Niessner

unread,
Jun 3, 2014, 12:45:03 AM6/3/14
to ak...@googlegroups.com

Downloaded amara 2 and installed. Thank you for the tool.

Read the Day 4 too.
Googled about some more.

I have three files: I have foo.xsd for my schema. I have bar.xml for an instance of foo. I have snafu.sch for a schematron rule set.
I can use amara 2 to validate bar.xml against foo.xsd using the tutorial.

How do I validate bar.xml against snafu.sch using amara 2? It looks like I should use the bindery but I am just not quite there yet.

Any and all help is appreciated.

Thanks.

Uche Ogbuji

unread,
Jun 3, 2014, 11:23:26 AM6/3/14
to ak...@googlegroups.com
Good day,

Yes, I think you've run into the fact that schematron was never completely reintegrated into Amara 2. I had always intended to do so, but the demand was more around porting other parts of the code base. Because I know Amara 1 and Amara 2 so well I was able to scratch my own itch when I needed schematron by basically hacking across the code bases, but I never got around to making it usable for everyone else.

Gosh, I hate to say it, but the best bet is to use Amara 1.x for Schematron. It's implementation is comprehensive and well tested. I've sort of given up making promises about Amara's future, but I can say that the need for easily-deployed schematron has reached my work situation, which increases the chances that I'll be able to get to that as Amara 3 comes along.

Thanks.

--Uche



--
You received this message because you are subscribed to the Google Groups "akara" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akara+un...@googlegroups.com.
To post to this group, send email to ak...@googlegroups.com.
Visit this group at http://groups.google.com/group/akara.
For more options, visit https://groups.google.com/d/optout.



--
Uche Ogbuji                                       http://uche.ogbuji.net
Founding Partner, Zepheira                  http://zepheira.com
Author, _Ndewo, Colorado_                 http://uche.ogbuji.net/ndewo/
Founding editor, Kin Poetry Journal      http://wearekin.org
http://copia.ogbuji.net    http://www.linkedin.com/in/ucheogbuji    http://twitter.com/uogbuji

Al Niessner

unread,
Jun 6, 2014, 9:46:54 AM6/6/14
to ak...@googlegroups.com

Hate to be a pest, but all of the google links to Amara 1 have failed because they no longer are. Any suggestions on where I can find Amara 1?

Luis Miguel Morillas

unread,
Jun 6, 2014, 10:11:19 AM6/6/14
to ak...@googlegroups.com
I don't remember if it's the latest amara 1.x version we had [1]


[1] https://pypi.python.org/pypi/Amara/1.2.0.2
Saludos,

-- luismiguel (@lmorillas)

Uche Ogbuji

unread,
Jun 6, 2014, 1:52:52 PM6/6/14
to ak...@googlegroups.com
On Fri, Jun 6, 2014 at 7:46 AM, Al Niessner <al.ni...@gmail.com> wrote:

Hate to be a pest,

Not at all. It's a pesky situation.

but all of the google links to Amara 1 have failed because they no longer are. Any suggestions on where I can find Amara 1?

Luis is right...BUT!

OK this is where I admit my secret: those work requirements which have led me back to working on Amara? They've also eaten my brain into a crescent.

Disregard what I said about Amara 1. I moved all the Schematron logic into a different project, called Scimitar:


Sadly my 2004 IBM dW tutorial on Schematron, which included instructions for setting up Scimitar, has been archived by IBM. It's still referenced from:


Might be that reviving that tutorial elsewhere on the Web is the quickest way forward to help, but I can't get to that until evening or weekend.


--Uche
Reply all
Reply to author
Forward
0 new messages