refactor(codec): map SIS XML through annotated DTOs
This commit is contained in:
@@ -14,9 +14,8 @@ sealed interface DecodeResult {
|
||||
}
|
||||
|
||||
/**
|
||||
* XML codec:XXE 防护(禁 DTD/外部实体);阶段 1 先 vendor 复用 legacy entity/msg POJO +
|
||||
* jackson-dataformat-xml + JaxbAnnotationIntrospector(现役已验证组合,ACMA-6 选型)。
|
||||
* TODO(阶段1后续): vendor POJO 引入与 BDPB workaround 配置化(golden 固化)。
|
||||
* XML codec:使用 SIS 文档对应的 Jackson XML 注解 DTO,再显式转换为领域载荷;
|
||||
* XMLInputFactory 禁用 DTD/外部实体,原文仍由入站层保留。
|
||||
*/
|
||||
interface XmlCodec {
|
||||
fun decode(rawXml: String): DecodeResult
|
||||
|
||||
Reference in New Issue
Block a user