Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6304

YAML editor error with <?>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.6
    • None
    • yaml - Editor
    • None
    • Netbeans 12.6

      Java 17.0.1

      Manjaro Linux (up-to-date), Xfce desktop

    Description

      YAML editor issues error "While parsing a block mapping, expected <block end>, but found '<scalar>'" for the following yaml file:

      a: |
        <?>
        b

      This is a reduced example. Error happened when including an XML file as a string.

      data:
        logback.xml: |
          <?xml version="1.0" encoding="UTF-8"?>
          <configuration
              xmlns='http://ch.qos.logback/xml/ns/logback'
              xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>        
      
              <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
          
          </configuration> 

      Attachments

        Activity

          People

            Unassigned Unassigned
            almson Aleksandr Dubinsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: