Subject: Re: [xsl] Catalogs with Saxon From: Betty Harvey <betty@xxxxxxxxxx> Date: Mon, 1 Sep 2003 15:23:02 -0400 (EDT) |
Chris: I think I might have run into this problem in the past. Everything looks fine but you might try putting a / in the path to the catalog directory: <group prefer="public" xml:base="file:///opt/web/standards/" > ^ Betty /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | harvey@xxxxxxxxxx | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ On Mon, 1 Sep 2003, chris.danx wrote: > Hi, > > I'm having a spot of bother with Catalogs and Saxon. Can anyone help? > The problem is that it doesn't seem to be picking up > CatalogManager.properties and isn't looking for the dtds locally. Well > I think that's the problem. There is no output signalling failure from > resolver, no matter where the catalog path points to or whether the > locations of the local DTDs are correctly specified or not. Saxon gives > the same output regardless. > > > To call Saxon this is used > > java net.sf.saxon.Transform -u -x > org.apache.xml.resolver.tools.ResolvingXMLReader -y > org.apache.xml.resolver.tools.ResolvingXMLReader -r > org.apache.xml.resolver.tools.CatalogResolver > > > Classpath is set to > > /opt/programming/java/resolver:/opt/programming/java/resolver/resolver-1.0.jar:/opt/programming/java/saxon/saxon-7.6.5a/saxon7.jar: > > > CatalogManager.properties looks like > > catalogs=/opt/programming/java/resolver/xhtml-catalog.xml > relative-catalogs=yes > static-catalog=yes > catalog-class-name=org.apache.xml.resolver.Resolver > verbosity=4 > > > and is located in /opt/programming/java/resolver > > > This is the catalog > > > <?xml version="1.0"?> > <!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"> > <group prefer="public" xml:base="file:///opt/web/standards" > > > <public > publicId="-//W3C//DTD XHTML 1.0 Strict//EN" > uri="xhtml-1.0/DTD/xhtml1-strict.dtd"/> > > <system > systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > uri="xhtml-1.0/DTD/xhtml1-strict.dtd"/> > > <public > publicId="-//W3C//DTD XHTML 1.0 Transitional//EN" > uri="xhtml-1.0/DTD/xhtml1-transitional.dtd"/> > > > <system > systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > uri="xhtml-1.0/DTD/xhtml1-transitional.dtd"/> > > </group> > </catalog> > > > > Cheers, > Chris > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Catalogs with Saxon, chris.danx | Thread | [xsl] making <p>s or <br> in html f, Ronald Kent Gibson |
[xsl] making <p>s or <br> in html f, Brook Ellingwood | Date | [xsl] telling an outer template whi, Felix Breuer |
Month |