Merge branch 'r3.4'
This commit is contained in:
commit
b436272ae5
1 changed files with 2 additions and 0 deletions
|
@ -1795,11 +1795,13 @@ public class GPXUtilities {
|
||||||
}
|
}
|
||||||
if (tag.equals("author")) {
|
if (tag.equals("author")) {
|
||||||
Author author = new Author();
|
Author author = new Author();
|
||||||
|
author.name = parser.getText();
|
||||||
((Metadata) parse).author = author;
|
((Metadata) parse).author = author;
|
||||||
parserState.push(author);
|
parserState.push(author);
|
||||||
}
|
}
|
||||||
if (tag.equals("copyright")) {
|
if (tag.equals("copyright")) {
|
||||||
Copyright copyright = new Copyright();
|
Copyright copyright = new Copyright();
|
||||||
|
copyright.license = parser.getText();
|
||||||
copyright.author = parser.getAttributeValue("", "author");
|
copyright.author = parser.getAttributeValue("", "author");
|
||||||
((Metadata) parse).copyright = copyright;
|
((Metadata) parse).copyright = copyright;
|
||||||
parserState.push(copyright);
|
parserState.push(copyright);
|
||||||
|
|
Loading…
Reference in a new issue