Re: saxon-help Digest, Vol 118, Issue 10

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: saxon-help Digest, Vol 118, Issue 10

France Baril
​Ah! Ok. Thanks!​

On Tue, Apr 19, 2016 at 4:32 AM, <[hidden email]> wrote:
Send saxon-help mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/saxon-help
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of saxon-help digest..."


Today's Topics:

   1. Re: Issue with catalog on Windows 10 server (Michael Kay)
   2. Re: Issue with catalog on Windows 10 server (Earl Hood)
   3. Re: Issue with catalog on Windows 10 server (Christophe Marchand)
   4. How to generate the good Configuration, depending on Saxon
      jar present (Christophe Marchand)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Apr 2016 09:45:17 +0100
From: Michael Kay <[hidden email]>
Subject: Re: [saxon] Issue with catalog on Windows 10 server
To: Mailing list for the SAXON XSLT and XQuery processor
        <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="us-ascii"

Looking at the history, I don't think we did fully resolve it, but we did get as far as establishing that the problem seemed to be in the XML parser (Xerces) and not in Saxon.

Michael Kay
Saxonica


> On 18 Apr 2016, at 19:42, France Baril <[hidden email]> wrote:
>
> Hi,
>
> A client is running into problems where a .dtd cannot be resolved, but only on Windows 10 Server. It seems that the catalog is not found and the system is trying to resolve to the local path.
>
> I found this thread which I believe already describes the same problem: https://sourceforge.net/p/saxon/mailman/message/34731490/ <https://sourceforge.net/p/saxon/mailman/message/34731490/>.
>
> I was curious to know if the issue has been resolved since then as I didn't find any answer in there.
>
> Regards,
>
> France
> --
> France Baril
> Architecte documentaire / Documentation architect
> [hidden email] <mailto:[hidden email]>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Tue, 19 Apr 2016 05:12:14 -0500
From: Earl Hood <[hidden email]>
Subject: Re: [saxon] Issue with catalog on Windows 10 server
To: Mailing list for the SAXON XSLT and XQuery processor
        <[hidden email]>
Message-ID:
        <CANDwYvd77v-OdqpZmydtC8Bv9dkkxufXx=[hidden email]>
Content-Type: text/plain; charset="utf-8"

On Apr 18, 2016 3:12 PM, "France Baril" <[hidden email]>
wrote:
>
> A client is running into problems where a .dtd cannot be resolved, but
only on Windows 10 Server. It seems that the catalog is not found and the
system is trying to resolve to the local path.

Maybe the following applies to your situation:

https://sourceforge.net/p/saxon/mailman/message/34785011/

--ewh
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Tue, 19 Apr 2016 11:05:19 +0200
From: Christophe Marchand <[hidden email]>
Subject: Re: [saxon] Issue with catalog on Windows 10 server
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="windows-1252"

I do use xslt transforms from ant using catalogs with success.
Have a look at
https://github.com/cmarchand/oxygen-xspec-patch/blob/master/build.xml
for an ant script that correctly works.

This sample comes from Oxygen and is patched to use a catalog.xml put in
the current Oxygen project.

Here is the kind of catalog I use :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE
     catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
   <rewriteURI
     uriStartString="identity:"
rewritePrefix="jar:file:/home/cmarchand/.m2/repository/eu/els/xml/libraries/identity/1.0.0-SNAPSHOT/identity-1.0.0-SNAPSHOT.jar!"/>
</catalog>


Best regards,
Christophe

Le 19/04/2016 10:45, Michael Kay a ?crit :
> Looking at the history, I don't think we did fully resolve it, but we
> did get as far as establishing that the problem seemed to be in the
> XML parser (Xerces) and not in Saxon.
>
> Michael Kay
> Saxonica
>
>
>> On 18 Apr 2016, at 19:42, France Baril <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>> Hi,
>>
>> A client is running into problems where a .dtd cannot be resolved,
>> but only on Windows 10 Server. It seems that the catalog is not found
>> and the system is trying to resolve to the local path.
>>
>> I found this thread which I believe already describes the same
>> problem: https://sourceforge.net/p/saxon/mailman/message/34731490/.
>>
>> I was curious to know if the issue has been resolved since then as I
>> didn't find any answer in there.
>>
>> Regards,
>>
>> France
>> --
>> France Baril
>> Architecte documentaire / Documentation architect
>> [hidden email] <mailto:[hidden email]>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
>> saxon-help mailing list archived at http://saxon.markmail.org/
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/saxon-help
>
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>
>
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Tue, 19 Apr 2016 13:32:19 +0200
From: Christophe Marchand <[hidden email]>
Subject: [saxon] How to generate the good Configuration, depending on
        Saxon jar present
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hello,

I plan to distribute a product based on Saxon. I'll put a dependency son
Saxon-HE.
But a final user may introduce a dependance on my product, excluding the
saxon-HE dependency, and adding his own Saxon-PE or saxon-EE.

I want to generate a Configuration that match the saxon release/licence
available.

I've done something like this :
     public static Configuration buildConfiguration() {
         try {
             Class clazz =
Class.forName("com.saxonica.config.EnterpriseConfiguration");
             Configuration instance = (Configuration)clazz.newInstance();
             return instance;
         } catch(ClassNotFoundException | InstantiationException |
IllegalAccessException ex) {
             try {
                 Class clazz =
Class.forName("com.saxonica.config.ProfessionalConfiguration");
                 Configuration instance =
(Configuration)clazz.newInstance();
                 return instance;
             } catch(ClassNotFoundException | InstantiationException |
IllegalAccessException ex2) {
                 return new Configuration();
             }
         }
     }


As my java code is entirely compatible with Saxon-HE, do I need to do
this to be able to run XSLT with professional-only or enterprise-only
features, or does using directly Configuration checks a saxon-licence
availability ?
For example, may I declare/import a schema in an XSLT, running it with
saxon-EE in classpath, but using a Configuration instead of a
EnterpriseConfiguration ?

Best regards,
Christophe
--


  Christophe MARCHAND

Consultant Formateur
[hidden email] <mailto:[hidden email]>
LD : <a href="tel:%28%2B33%291%2084%2019%2019%2076" value="+33184191976">(+33)1 84 19 19 76
GSM : <a href="tel:%2B33%20%280%296%2023%2041%2009%2017" value="+33623410917">+33 (0)6 23 41 09 17

        oxiane

98, avenue du G?n?ral Leclerc
92100 Boulogne-Billancourt
Standard : <a href="tel:%28%2B33%291%2055%2060%2076%2072" value="+33155607672">(+33)1 55 60 76 72
Fax : <a href="tel:%28%2B33%291%2055%2060%2076%2073" value="+33155607673">(+33)1 55 60 76 73
www.oxiane.com <http://www.oxiane.com>


Notre catalogue formations 2016

Notre catalogue formations 2015
<http://www.oxiane.com/wp-content/uploads/2015/11/OXiane_Catalogue_2016.pdf>

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Oxiane_logo_bleu_183x50.png
Type: image/png
Size: 8113 bytes
Desc: not available
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OXiane_Couverture_Catalogue_2016-184x260.jpg
Type: image/jpeg
Size: 16145 bytes
Desc: not available

------------------------------

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

------------------------------

_______________________________________________
saxon-help mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help
The saxon-help list is archived at http://saxon.markmail.org/

End of saxon-help Digest, Vol 118, Issue 10
*******************************************



--
France Baril
Architecte documentaire / Documentation architect
[hidden email]


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Loading...