<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-591744930960839717.post6012387117191349299..comments</id><updated>2010-07-23T09:45:31.098+01:00</updated><category term='whitespace'/><category term='Fedora'/><category term='WSN'/><category term='WSRP 1.0'/><category term='WS-ReliableMessaging'/><category term='ISB'/><category term='encoding'/><category term='SKOS'/><category term='SVG'/><category term='tomcat'/><category term='WS-Coordination'/><category term='WS-Context'/><category term='WS-MakeConnection'/><category term='WS-RM Policy'/><category term='WS-BPEL'/><category term='P3P'/><category term='Geneva'/><category term='Rampart'/><category term='XHTML'/><category term='WS-RX'/><category term='axis2'/><category term='XML Schema'/><category term='JSR-168'/><category term='WSS4J'/><category term='RDF'/><category term='CSS'/><category term='REST'/><category term='SAML V2.0'/><category term='70-536'/><category term='WS-Security'/><category term='JSTL'/><category term='WS-Trust'/><category term='UDDI'/><category term='bash'/><category term='Blogger'/><category term='WS-Federation'/><category term='E-Authentication'/><category term='webservice'/><category term='C#'/><category term='portlet'/><category term='Firefox'/><category term='XPointer'/><category term='WS-BusinessActivity'/><category term='WCF'/><category term='WS-SecureConversation'/><category term='DREFT'/><category term='70-503'/><category term='wsrp'/><category term='pluto'/><category term='WSDL 2.0'/><category term='WS-AtomicTransaction'/><category term='Ant'/><category term='wsrp4j'/><category term='.NET'/><title type='text'>Comments on Sweetxml: Resolving the XHTML1 DTD locally - avoiding proble...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.sweetxml.org/feeds/6012387117191349299/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html'/><author><name>Sweetxml</name><uri>http://www.blogger.com/profile/05239249371767955354</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-3207271044157113711</id><published>2010-07-23T09:45:31.098+01:00</published><updated>2010-07-23T09:45:31.098+01:00</updated><title type='text'>Never mind, i just tried to open a xhtml pointing ...</title><content type='html'>Never mind, i just tried to open a xhtml pointing to strict dtd &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot; in IE and it never returned anything.&lt;br /&gt;&lt;br /&gt;And when tried programatically it gave 503 error.So just checked with you. &lt;br /&gt;&lt;br /&gt;I have fixed it by downloading the dtd through some other browser &amp;amp; with local dtd it works like a charm.&lt;br /&gt;&lt;br /&gt;Thanks for your response.&lt;br /&gt;&lt;br /&gt;-Murali*</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/3207271044157113711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/3207271044157113711'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1279874731098#c3207271044157113711' title=''/><author><name>Murali</name><uri>http://www.blogger.com/profile/11894062674712354081</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_rRisSo1_UpE/SWwQn78phvI/AAAAAAAAC2c/8TIdxf8Fa_k/S220/DSC02122.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1061330971'/></entry><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-6890089271804099909</id><published>2010-07-21T08:24:10.510+01:00</published><updated>2010-07-21T08:24:10.510+01:00</updated><title type='text'>Hi Murali

I&amp;#39;m not sure I really understand yo...</title><content type='html'>Hi Murali&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure I really understand your problem, since when i GET it i have no problem and get a clean status of 200:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;$ wget -S http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;br /&gt;--09:20:29--  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;br /&gt;           =&amp;gt; `xhtml1-transitional.dtd.1&amp;#39;&lt;br /&gt;Resolving www.w3.org... 128.30.52.54, 128.30.52.166, 128.30.52.168, ...&lt;br /&gt;Connecting to www.w3.org|128.30.52.54|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response...&lt;br /&gt;  HTTP/1.1 200 OK&lt;br /&gt;  Date: Wed, 21 Jul 2010 07:20:29 GMT&lt;br /&gt;  Server: Apache/2&lt;br /&gt;  Content-Location: xhtml1-transitional.dtd.raw&lt;br /&gt;  Vary: negotiate,accept-encoding&lt;br /&gt;  TCN: choice&lt;br /&gt;  Last-Modified: Thu, 01 Aug 2002 18:37:56 GMT&lt;br /&gt;  ETag: &amp;quot;7d6f-3a72ac59d0900;475d1b7e9a540&amp;quot;&lt;br /&gt;  Accept-Ranges: bytes&lt;br /&gt;  Content-Length: 32111&lt;br /&gt;  Cache-Control: max-age=7776000&lt;br /&gt;  Expires: Tue, 19 Oct 2010 07:20:29 GMT&lt;br /&gt;  P3P: policyref=&amp;quot;http://www.w3.org/2001/05/P3P/p3p.xml&amp;quot;&lt;br /&gt;  Connection: close&lt;br /&gt;  Content-Type: application/xml-dtd; charset=utf-8&lt;br /&gt;Length: 32,111 (31K) [application/xml-dtd]&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Brgds Brian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/6890089271804099909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/6890089271804099909'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1279697050510#c6890089271804099909' title=''/><author><name>Sweetxml</name><uri>http://www.blogger.com/profile/05239249371767955354</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-695068630'/></entry><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-8169239826988712078</id><published>2010-07-21T03:49:14.335+01:00</published><updated>2010-07-21T03:49:14.335+01:00</updated><title type='text'>Hi Brian,

Thats a good article. May i know how to...</title><content type='html'>Hi Brian,&lt;br /&gt;&lt;br /&gt;Thats a good article. May i know how to fetch the dtd&amp;#39;s (including dependencies) locally? , bcoz when i visit to the site of dtd&amp;#39;s it shows a redirection url.&lt;br /&gt;&lt;br /&gt;-Murali*</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/8169239826988712078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/8169239826988712078'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1279680554335#c8169239826988712078' title=''/><author><name>Murali</name><uri>http://www.blogger.com/profile/11894062674712354081</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_rRisSo1_UpE/SWwQn78phvI/AAAAAAAAC2c/8TIdxf8Fa_k/S220/DSC02122.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1061330971'/></entry><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-7789727438886113153</id><published>2010-03-12T20:07:47.875+01:00</published><updated>2010-03-12T20:07:47.875+01:00</updated><title type='text'>Hi Henry

Thank you, glad it was of value to you.
...</title><content type='html'>Hi Henry&lt;br /&gt;&lt;br /&gt;Thank you, glad it was of value to you.&lt;br /&gt;&lt;br /&gt;It&amp;#39;s been some time since I looked at it. I&amp;#39;ll suggest you look closer at &lt;a href="http://xerces.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/util/XMLCatalogResolver.html" rel="nofollow"&gt;XMLCatalogResolver&lt;/a&gt; for clues. Maybe overriding &lt;a href="http://xerces.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/util/XMLCatalogResolver.html#resolveResource(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)" rel="nofollow"&gt;resolveResource&lt;/a&gt; could be a way to go.&lt;br /&gt;&lt;br /&gt;In general if you want to load files to the webapp you either make it public available just like images, html- and jsp-files or place them in the classpath ex. &lt;em&gt;/WEB-INF/classes/&lt;/em&gt; and bootstrap the class loader from the current object. Doing a quick search I found this guide: &lt;a href="http://stackoverflow.com/questions/861500/url-to-load-resources-from-the-classpath-in-java" rel="nofollow"&gt;URL to load resources from the classpath in Java&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Maybe there&amp;#39;s help to found in this article: &lt;a href="http://www.ibm.com/developerworks/xml/library/x-tipentres.html" rel="nofollow"&gt;&lt;br /&gt;Tip: Load resources from the classpath&lt;/a&gt;. I didn&amp;#39;t really read it but it occured to be relevant.&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;Brian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/7789727438886113153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/7789727438886113153'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1268420867875#c7789727438886113153' title=''/><author><name>Sweetxml</name><uri>http://www.blogger.com/profile/05239249371767955354</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-695068630'/></entry><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-2772191067862263763</id><published>2010-02-25T15:59:55.870+01:00</published><updated>2010-02-25T15:59:55.870+01:00</updated><title type='text'>This is a great article and it helped resolve the ...</title><content type='html'>This is a great article and it helped resolve the issue.&lt;br /&gt;&lt;br /&gt;But I am not able to find the correct dir to keep the catalog files. PLease note that I am using this in a web application and the java class is called from a JSP. So how does this work for a web app. I am using Tomcat 1.5 with java 5.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/2772191067862263763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/2772191067862263763'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1267109995870#c2772191067862263763' title=''/><author><name>Henry</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1223998321'/></entry><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-8245185079069375374</id><published>2009-09-02T08:01:03.795+01:00</published><updated>2009-09-02T08:01:03.795+01:00</updated><title type='text'>Hi flakstad 
Thank you for your comment. I expect ...</title><content type='html'>Hi flakstad &lt;br /&gt;Thank you for your comment. I expect have figured it out easily, but just to anyone who wonders.&lt;br /&gt;The catalog file was just placed relative to my build, and the DTD along with the entity files where placed in the same folder. You can place them anywhere you like as long as you correct the references.&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;Brian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/8245185079069375374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/8245185079069375374'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1251874863795#c8245185079069375374' title=''/><author><name>Sweetxml</name><uri>http://www.blogger.com/profile/05239249371767955354</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-695068630'/></entry><entry><id>tag:blogger.com,1999:blog-591744930960839717.post-228521498771331144</id><published>2009-08-24T12:25:26.565+01:00</published><updated>2009-08-24T12:25:26.565+01:00</updated><title type='text'>Thank you very much for posting this article. A gr...</title><content type='html'>Thank you very much for posting this article. A great tip that aids both me and others who are getting 503s, as well as the W3C. Although I&amp;#39;m not quite sure where you placed your local DTD and the catalog file, I&amp;#39;m sure I&amp;#39;ll figure it out. Thanks. &lt;br /&gt;&lt;br /&gt;Cheers, &lt;br /&gt;Paul.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/228521498771331144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/591744930960839717/6012387117191349299/comments/default/228521498771331144'/><link rel='alternate' type='text/html' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html?showComment=1251113126565#c228521498771331144' title=''/><author><name>flakstad</name><uri>http://www.blogger.com/profile/02029984292743884978</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html' ref='tag:blogger.com,1999:blog-591744930960839717.post-6012387117191349299' source='http://www.blogger.com/feeds/591744930960839717/posts/default/6012387117191349299' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1472365356'/></entry></feed>
