Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xml_plugin4rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
xml_plugin4rosetta
Commits
0b8ed5d9
Commit
0b8ed5d9
authored
2 years ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- temporary enabled debug output
parent
e376a81e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/org/slub/rosetta/dps/repository/plugin/ValidationCatalogResolver.java
+9
-9
9 additions, 9 deletions
...etta/dps/repository/plugin/ValidationCatalogResolver.java
with
9 additions
and
9 deletions
java/org/slub/rosetta/dps/repository/plugin/ValidationCatalogResolver.java
+
9
−
9
View file @
0b8ed5d9
...
...
@@ -21,8 +21,8 @@ class ValidationCatalogResolver implements CatalogResolver {
}
@Override
public
InputSource
resolveEntity
(
String
publicId
,
String
systemId
)
{
//
System.out.println("======");
//
System.out.println("resolveEntity publicId=" + publicId + " systemId=" + systemId);
System
.
out
.
println
(
"======"
);
System
.
out
.
println
(
"resolveEntity publicId="
+
publicId
+
" systemId="
+
systemId
);
if
(
catalogs
.
length
==
0
)
{
//System.out.println("No catalog given!");
errors
.
add
(
"No catalog given!"
);
...
...
@@ -35,7 +35,7 @@ class ValidationCatalogResolver implements CatalogResolver {
cr
.
setCatalogList
(
catalogs
);
result
=
cr
.
resolveEntity
(
publicId
,
systemId
);
}
catch
(
IOException
|
CatalogException
|
SAXException
e
)
{
//
System.out.println("No mapping found for publicId=" + publicId + ", systemId=" + systemId + ", " + e.getMessage());
System
.
out
.
println
(
"No mapping found for publicId="
+
publicId
+
", systemId="
+
systemId
+
", "
+
e
.
getMessage
());
errors
.
add
(
"No mapping found for publicId="
+
publicId
+
", systemId="
+
systemId
+
", "
+
e
.
getMessage
());
}
return
result
;
...
...
@@ -43,23 +43,23 @@ class ValidationCatalogResolver implements CatalogResolver {
@Override
public
Source
resolve
(
String
href
,
String
base
)
{
//
System.out.println("======");
//
System.out.println("resolve href=" + href + " base=" + base);
System
.
out
.
println
(
"======"
);
System
.
out
.
println
(
"resolve href="
+
href
+
" base="
+
base
);
return
null
;
}
@Override
public
InputStream
resolveEntity
(
String
publicId
,
String
systemId
,
String
baseUri
,
String
nameSpace
)
{
//
System.out.println("======");
//
System.out.println("resolveEntity2 publicId=" + publicId + " systemId=" + systemId);
System
.
out
.
println
(
"======"
);
System
.
out
.
println
(
"resolveEntity2 publicId="
+
publicId
+
" systemId="
+
systemId
);
return
null
;
}
@Override
public
LSInput
resolveResource
(
String
type
,
String
namespaceURI
,
String
publicId
,
String
systemId
,
String
baseUri
)
{
//
System.out.println("======");
//
System.out.println("resolveResource publicId=" + publicId + " systemId=" + systemId);
System
.
out
.
println
(
"======"
);
System
.
out
.
println
(
"resolveResource publicId="
+
publicId
+
" systemId="
+
systemId
);
return
null
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment