LPS-46437 the reference attributes returned for the basic document type does not mark it as preloaded because of an error with retrieving the default user
LPS-46437 Source Formatting
LPS-46437 Source formatting
LPS-46437 Use the proper constants and always add the XML attribute even if its value is false when exception thrown and it also helps to save some vertical space