Skip to content

Parser doesn't support line breaks in between attributes: #347

@hornta

Description

@hornta

For example this XML doesn't give any information in the CST about the linebreaks between the attributes:

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     width="100%" height="100%" viewBox="0 0 110 60">

  <g id="group-1">
    <circle cx="80" cy="30" r="20" fill="cornflowerblue" />
    <text x="80" y="33" text-anchor="middle" font-size="10">1</text>
  </g>

  <g id="group-1">
    <rect x="10" y="10" width="40" height="40" fill="gold" />
    <text x="30" y="33" text-anchor="middle" font-size="10">2</text>
  </g>
</svg>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions