Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
moex
Alignment API
Commits
1263e818
Commit
1263e818
authored
15 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- genericised the Alignement URI fully (it works now again)
parent
15decea9
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
src/fr/inrialpes/exmo/align/parser/XMLParser.java
+3
-3
3 additions, 3 deletions
src/fr/inrialpes/exmo/align/parser/XMLParser.java
with
3 additions
and
3 deletions
src/fr/inrialpes/exmo/align/parser/XMLParser.java
+
3
−
3
View file @
1263e818
...
@@ -249,7 +249,7 @@ public class XMLParser extends DefaultHandler {
...
@@ -249,7 +249,7 @@ public class XMLParser extends DefaultHandler {
public
void
startElement
(
String
namespaceURI
,
String
pName
,
String
qname
,
Attributes
atts
)
throws
SAXException
{
public
void
startElement
(
String
namespaceURI
,
String
pName
,
String
qname
,
Attributes
atts
)
throws
SAXException
{
if
(
debugMode
>
2
)
System
.
err
.
println
(
"startElement XMLParser : "
+
pName
);
if
(
debugMode
>
2
)
System
.
err
.
println
(
"startElement XMLParser : "
+
pName
);
parseLevel
++;
parseLevel
++;
if
(
namespaceURI
.
equals
(
"http://knowledgeweb.semanticweb.org/heterogeneity/alignment"
)
if
(
namespaceURI
.
equals
(
Namespace
.
ALIGNMENT
.
uri
+
"#"
)
||
namespaceURI
.
equals
(
Namespace
.
ALIGNMENT
.
uri
)
)
{
||
namespaceURI
.
equals
(
Namespace
.
ALIGNMENT
.
uri
)
)
{
if
(
pName
.
equals
(
"relation"
))
{
if
(
pName
.
equals
(
"relation"
))
{
}
else
if
(
pName
.
equals
(
"semantics"
))
{
}
else
if
(
pName
.
equals
(
"semantics"
))
{
...
@@ -346,7 +346,7 @@ public class XMLParser extends DefaultHandler {
...
@@ -346,7 +346,7 @@ public class XMLParser extends DefaultHandler {
}
}
private
Object
getEntity
(
Object
ontology
,
String
name
)
throws
SAXException
{
private
Object
getEntity
(
Object
ontology
,
String
name
)
throws
SAXException
{
try
{
return
new
URI
(
name
);}
try
{
return
new
URI
(
name
);
}
catch
(
URISyntaxException
e
)
{
catch
(
URISyntaxException
e
)
{
throw
new
SAXException
(
"[XMLParser] bad URI syntax : "
+
name
);}
throw
new
SAXException
(
"[XMLParser] bad URI syntax : "
+
name
);}
}
}
...
@@ -396,7 +396,7 @@ public class XMLParser extends DefaultHandler {
...
@@ -396,7 +396,7 @@ public class XMLParser extends DefaultHandler {
public
void
endElement
(
String
namespaceURI
,
String
pName
,
String
qName
)
throws
SAXException
{
public
void
endElement
(
String
namespaceURI
,
String
pName
,
String
qName
)
throws
SAXException
{
if
(
debugMode
>
2
)
if
(
debugMode
>
2
)
System
.
err
.
println
(
"endElement XMLParser : "
+
pName
);
System
.
err
.
println
(
"endElement XMLParser : "
+
pName
);
if
(
namespaceURI
.
equals
(
"http://knowledgeweb.semanticweb.org/heterogeneity/alignment"
)
if
(
namespaceURI
.
equals
(
Namespace
.
ALIGNMENT
.
uri
+
"#"
)
||
namespaceURI
.
equals
(
Namespace
.
ALIGNMENT
.
uri
)
)
{
||
namespaceURI
.
equals
(
Namespace
.
ALIGNMENT
.
uri
)
)
{
try
{
try
{
if
(
pName
.
equals
(
"relation"
))
{
if
(
pName
.
equals
(
"relation"
))
{
...
...
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