Bug 45209 - xml.catalog.verbosity has not effect when CatalogManager.properties not used
xml.catalog.verbosity has not effect when CatalogManager.properties not used
Status: CLOSED FIXED
Product: XmlCommons - Now in JIRA
Classification: Unclassified
Component: Resolver
1.x
All All
: P2 normal (vote)
: ---
Assigned To: Commons Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-06-15 11:27 UTC by Earl Hood
Modified: 2008-06-25 01:20 UTC (History)
0 users



Attachments
Patch to honor xml.catalog.verbosity setting (2.00 KB, patch)
2008-06-15 11:27 UTC, Earl Hood
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Earl Hood 2008-06-15 11:27:22 UTC
Created attachment 22129 [details]
Patch to honor xml.catalog.verbosity setting

When one uses the resolver w/o a CatalogManager.properties
file, the xml.catalog.verbosity sysprop setting has no
effect.

I've attached a patch that fixes this problem.

The way the patch is implemented it will cause the
sysprop setting to override any setting in CatalogManager.properties,
if the file is used.  This seems to be acceptable since
one should be able to "override" the verbosity setting via
a sysprop setting w/o having to edit the file.
Comment 1 David Crossley 2008-06-25 01:15:11 UTC
Thanks, patch applied in r671455. I did some manual testing via Apache Forrest, to set the verbosity using various different means.