bildwelt
E2E FORUM
E2E Bridge E2E Commerce

CDATA in XML

E2E Forum Modeling & Development CDATA in XML

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Alfred 1 month, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2953

    frans
    Participant

    According to a release bulletin:
    —–
    E2E Bridge 6.0.54.4:

    This Bridge version contains E2E xUML Runtime 2015.17 with SAPNW.
    Features and improvements
    Java Runtime updated to version 8u60.
    Node.js Service settings support arrays now.
    SOAP/XML adapter: generate CDATA elements.
    The XML Composer now can compose strings as CDATA. You need:
    <<XMLElement>> stereotype
    xmlFormat = CDATA tag value
    classToXML() or <<SOAPDocumentOperation>>
    Does not work for SOAP/RPC encoding.
    —–

    But how to set this tag on an imported xsd? It’s read-only….

    #2954

    Alfred
    Moderator

    The imported XSD file is read-only to signal that you will loose modifications if you re-import the XSD because it changed.
    But you can modify the read-only flag on the file-system and add the <<XMLElement>> stereotype to the imported XSD file (open as module in MagicDraw).

    Does the XSD have a hint that an element is encoded as CDATA? Because then we could improve the importer to add the correct stereotype.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.