Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
cdbfb988
Commit
cdbfb988
authored
Jan 10, 2025
by
Riegel
Browse files
Fix: Add Parsing of .xml files in ZIP archives
parent
5863dc7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/zip/CityGmlZipArchive.java
View file @
cdbfb988
...
@@ -39,7 +39,7 @@ public class CityGmlZipArchive implements Serializable {
...
@@ -39,7 +39,7 @@ public class CityGmlZipArchive implements Serializable {
if
(
ze
.
isDirectory
())
{
if
(
ze
.
isDirectory
())
{
continue
;
continue
;
}
}
if
(
ze
.
getName
().
endsWith
(
".gml"
))
{
if
(
ze
.
getName
().
endsWith
(
".gml"
)
||
ze
.
getName
().
endsWith
(
".xml"
)
)
{
archiveEntries
.
add
(
CityGmlZipEntry
.
register
(
ze
,
cgmlArchive
));
archiveEntries
.
add
(
CityGmlZipEntry
.
register
(
ze
,
cgmlArchive
));
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment