Re: xmlcalabash extensions step: No 'class' in configuration for cx:mathml-to-svg

Norman Tovey-Walsh <[email protected]>
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
aanno <[email protected]> writes:
> I guess that I haven't understood how the Java class of the extension
> step is registered with xmlcalash. On the class, there is an annotation
>
>> @XMLCalabash(
>>         name = "cx:mathml-to-svg",
>>         type = "{http://xmlcalabash.com/ns/extensions}mathml-to-svg")
> and there is an (extra) library.xpl.
>
> Perhaps somebody could explain me the about the relation of the 2 files
> - and what have to been done to register an extension step with
> xmlcalabash successfully.

I recently got frustrated with the fact that the ability to find classes
by annotation is dependent on the security settings of the class loader.
The most recent XML Calabash uses property files (if the annotations
fail) to find them. That should fix the problems as long as the
mathml-to-svg extension jar file is on the class path.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <[email protected]>
https://nwalsh.com/

> Act from reason, and failure makes you rethink and study harder. Act
> from faith, and failure makes you blame someone and push harder.
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAl6UDUoACgkQhVWfHhJM
AHnTcRAArIaESXxEhZUkeGROAzlVvO5zK8KqeusU0qC1A14la18ZWbnsKgE1LwMS
nQBhl3kh0N4LJWinVZ+nVpOdJn044cFvpEkmVU31c5q3AWJFE3Pa9Wp06cHmv0PA
+8wMFNBOgedGuQUPNGzTgcA5ylQx5xPAFRNdboFFSFUfDpuX8u7JG9vp29T7AEic
hhRLYAtv8MqDDvqjkJwnto8BiSxZScYLnM8rw5zTC/nw/5eD5OEsKs0G0+dOELD8
boNOvfCaeFyKZ2Ltj4hFYFxYIqqWABGEyQndplgzjKWai8v3VqcKVX+Qpv9RnwPR
0SPluY4GaJb+R14lJuzHSWvWAmLLnDoJCLUokCvXhtYOv6zZtUhQBgC03253JkXH
nWxM6YQzBkUAlUZ6mEh5X1Nebu19j9upY3wJ0NI7+6Ud7khJTE8mlBIEOeNk/DdY
Zu1/pMqKZTmlHkwgynGKy3FA78sA4bWmB8hn9vSb2L/Sd+Y/T+0RwXlk17hj7esA
ViuGodzpta7t0ZCRAF5PB0lh025YzXv9NrQxkvmM7SGzZBc3Qi1VwF+GL4LMGbsH
NJqYqfAuxHl6liBKsNZDYO9Isy1TPs9dpJ5Vhiggj7nd+wCZBPvS9ujVikjo81pJ
8OsUKKu0aFjnrA3zkzwpFWBIIY8IgKyho7JsqG0PVTRlRFoP2mM=
=stuw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.