Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 467bdb2

Browse files
committed
Fixed an improper <link ref="self" href ..../> problem
1 parent 8c948c0 commit 467bdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/energyos/espi/common/service/impl/ExportServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ private void buildHeader (OutputStream stream, String hrefFragment) throws IOExc
475475
String temp = updated.getValue().toXMLFormat();
476476
String uuid = UUID.randomUUID().toString();
477477

478-
String selfRef = "<link rel=\"self\" href=\"/espi/1_1/resource" + hrefFragment + "\"</link>\n";
478+
String selfRef = "<link rel=\"self\" href=\"/espi/1_1/resource" + hrefFragment + "\"/>\n";
479479

480480
//GregorianCalendar updated = new GregorianCalendar();
481481
//updated.setTimeZone(TimeZone.getTimeZone("UTC"))

0 commit comments

Comments
 (0)