Hi Herwig, I got what my problem is. If I use the keyword
(zx/tag= ::can/mqMessageHeader) everything works just fine. But my code is using a string representation of the tag and using keyword to convert it to a keyword.... (zx/tag= (keyword ":can/mqMessageHeader"))) and this for some reason is not working. Do you know what the difference would be? (keyword ":can/mqMessageHeader") produces a keyword that looks correct ::can/mqMessageHeader but does not match. regards, Francis. On Thu, Dec 22, 2016 at 12:38 AM, Herwig Hochleitner <hhochleit...@gmail.com > wrote: > 2016-12-22 5:23 GMT+01:00 Francis Hitchens <fhitc...@gmail.com>: > >> >> Hi Herwig, >> >> Thanks for the quick response. So I upgraded to the latest version and >> now I see my tags represented not as QName Java objects but as horribly >> long keywords like so... >> >> xmlns.http%3A%2F%2Fintegration.sprint.com%2Fv2%2Fcommon%2FCa >> nonicalDataModel.xsd/mqMessageHeader >> >> Is there a way I can shorten them so that they are similar to the ones in >> the XML document :can:mqMessageHeader? >> >> Is this what alias-uri is for, I couldn't figure out how it should work. >> > > Indeed. alias-uri establishes a clojure namespace alias for such a long > keyword namespace: > > (alias-uri :can "http://integration.sprint......Model.xsd") > ::can/mqMessageHeader > > This is documented in the README https://github.com/clojure/ > data.xml#namespace-support, I'll try to also clarify the docstrings for > the next release. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/clojure/tlIHHR58Vqs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.