Skip to content

Commit

Permalink
Update AASXSerializer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankSchnicke authored Jan 24, 2024
1 parent 8967ad8 commit 7392069
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ private void saveAASX(OutputStream os, OPCPackage rootPackage) throws IOExceptio
* @return UUID
*/
private String createUniqueID() {
return UUID.randomUUID().toString();
// The unique id has to start with a letter (cf. xs:ID). UUIDs do this only sometimes.
return "A" + UUID.randomUUID().toString();
}

/**
Expand Down Expand Up @@ -285,4 +286,4 @@ private String preparePath(String path) {
return path;
}

}
}

0 comments on commit 7392069

Please sign in to comment.