
Dear <oXygen/> users, The template loaded when I create a new Schematron seems to have changed in version 17 not only with the addition of Schematron Quick Fix capabilities, but also by replacing the default namespace declaration: xmlns="http://purl.oclc.org/dsdl/schematron" with a namespace prefix definition: xmlns:sch="http://purl.oclc.org/dsdl/schematron" so that the Schematron document is now, by default, in no namespace. This isn't a problem (I can live with it or change it, as I prefer), but it makes me wonder why the default behavior was changed. Are there advantages to defaulting to no namespace, instead of to the Schematron namespace? Thanks, David

I can't speak for others, David, but I like this change because 80% of the time I'm creating a Schematron file it's so that I can work on a Schematron test separately, and then copy-and-paste it into my TEI ODD file. Since I use "sch:" as the prefix for ISO Schematron in TEI (and all of the Guidelines will do so soon enough), this change to oXygen's template makes the copy-and-paste operation that much easier. So to me, this was a pleasant surprise. :-) Haven't figured out this Quick Fix stuff yet -- should I?
The template loaded when I create a new Schematron seems to have changed in version 17 not only with the addition of Schematron Quick Fix capabilities, but also by replacing the default namespace declaration:
xmlns="http://purl.oclc.org/dsdl/schematron"
with a namespace prefix definition:
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
so that the Schematron document is now, by default, in no namespace. This isn't a problem (I can live with it or change it, as I prefer), but it makes me wonder why the default behavior was changed. Are there advantages to defaulting to no namespace, instead of to the Schematron namespace?

I noticed this today too and wondered about it - also not worried about it at all, also interested in hearing the background! :) Tom On 06/08/2015 15:48, David Birnbaum wrote: Dear <oXygen/> users, The template loaded when I create a new Schematron seems to have changed in version 17 not only with the addition of Schematron Quick Fix capabilities, but also by replacing the default namespace declaration: xmlns="http://purl.oclc.org/dsdl/schematron" with a namespace prefix definition: xmlns:sch="http://purl.oclc.org/dsdl/schematron" so that the Schematron document is now, by default, in no namespace. This isn't a problem (I can live with it or change it, as I prefer), but it makes me wonder why the default behavior was changed. Are there advantages to defaulting to no namespace, instead of to the Schematron namespace? Thanks, David _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com<mailto:oXygen-user@oxygenxml.com> http://www.oxygenxml.com/mailman/listinfo/oxygen-user Cambridge University Press is the publishing business of the University of Cambridge with VAT registered number GB 823 8476 09. Our principal office is at University Printing House, Shaftesbury Road, Cambridge, CB2 8BS, United Kingdom.

Hello David, The main reason for this change was because the users wanted to add elements from no namespace in the Schematron file. This is because of the quick fixes support, if you want to create quick fixes for an XML document that doesn't have a namespace. The common mistake that they made was to add the elements without a prefix in the Schematron file, and because the default namespace was mapped to the Schematron namespace they ended up to add the elements in the Schematron namespace. Best Regards, Octavian -- Octavian Nadolu <oXygen/> XML Editor http://www.oxygenxml.com On 06.08.2015 17:48, David Birnbaum wrote:
Dear <oXygen/> users,
The template loaded when I create a new Schematron seems to have changed in version 17 not only with the addition of Schematron Quick Fix capabilities, but also by replacing the default namespace declaration:
xmlns="http://purl.oclc.org/dsdl/schematron"
with a namespace prefix definition:
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
so that the Schematron document is now, by default, in no namespace. This isn't a problem (I can live with it or change it, as I prefer), but it makes me wonder why the default behavior was changed. Are there advantages to defaulting to no namespace, instead of to the Schematron namespace?
Thanks,
David
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (4)
-
David Birnbaum
-
Oxygen XML Editor Support (Octavian Nadolu)
-
Syd Bauman
-
Tom Cleghorn