The Artima Developer Community
Sponsored Link

Java Buzz Forum
Access to www.w3.org DTDs blocked from Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vineet Manohar

Posts: 114
Nickname: vineetmano
Registered: Mar, 2009

Vineet Manohar is an entrepreneur / Senior Java Developer with 12 years of industry experience
Access to www.w3.org DTDs blocked from Java Posted: Nov 4, 2010 8:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Vineet Manohar.
Original Post: Access to www.w3.org DTDs blocked from Java
Feed Title: Vineet Manohar's blog
Feed URL: http://www.vineetmanohar.com/category/java/feed/
Feed Description: Cutting edge Java articles, Web 2.0 and other Tech topics
Latest Java Buzz Posts
Latest Java Buzz Posts by Vineet Manohar
Latest Posts From Vineet Manohar's blog

Advertisement
While parsing an XML file, I discovered that www.w3.org blocks requests to certain resources originating from the Java program, identified by the User-Agent. If your XML refers to w3.org DTDs, you might see an error like this: [java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent]. This is an known issue. The URLs have been deliberately blocked by w3.org due to 'abusive' using by Java programs. Related posts:
  1. JAXB code snippets for beginners
  2. Cache Java webapps with Squid Reverse Proxy
  3. 3 ways to run Java main from Maven

Read: Access to www.w3.org DTDs blocked from Java

Topic: Top 10 Ways To Protect Yourself From Phishing Previous Topic   Next Topic Topic: Oracle Claims that Gogle Copied the Java Code Directly

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use