The Artima Developer Community
Sponsored Link

Java Buzz Forum
Struts and XML Validation of Config Files

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
Joe Shelby

Posts: 101
Nickname: acroyear
Registered: Jun, 2003

Joe Shelby is a senior software developer at ISX Corporation.
Struts and XML Validation of Config Files Posted: Sep 14, 2004 8:33 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Joe Shelby.
Original Post: Struts and XML Validation of Config Files
Feed Title: Joe's Java Jottings
Feed URL: http://www.blog-city.com/bc/
Feed Description: Notes, observations, and occasional other stuff on Java, with concentrations on Swing, XML, and the Semantic (Object) Web.
Latest Java Buzz Posts
Latest Java Buzz Posts by Joe Shelby
Latest Posts From Joe's Java Jottings

Advertisement
Since upgrading to struts 1.2.2, Struts now validates all of the configuration files.  Now the release notes say that they validate against an "internal copy", but the truth is that they do validate, like normal XML, against the actual specified URL.  In this case, this now requires a connection to struts.apache.org to find the appropriate DTD files.

This is a BAD THING, in that our system needs to run inside a private network with no access to the outside world.

Without hitting the sources (since it may be deeply embedded into Digester and I don't have time to learn its architecture), is there an easy way of telling Struts to not validate the XML config files?

thanks in advance...

Read: Struts and XML Validation of Config Files

Topic: 10 minutes introduction to Pnuts Previous Topic   Next Topic Topic: Graph Manipulation vs Reporting

Sponsored Links



Google
  Web Artima.com   

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