xsi

    6Nhiệt

    2Trả lời

    tôi có một tài sản String trong một đối tượng chú thích như sau: @XmlElement(name = "Item", required = true, nillable = true) private String item; Kết quả sau khi marshaling là <Item xsi:nil="true"

    21Nhiệt

    4Trả lời

    Bạn có biết liệu có sự khác biệt giữa các thẻ này trên XML/XSD không? <a_element /> and <a_element xsi:nil="true"/> ví dụ: <SpreadCurve> <Index>3M</Index> <IndexNumber>4587</IndexNumber>