org.jdom.IllegalNameException: The name "@valeur" is not legal for JDOM/XML attributes: XML names cannot begin with the character "@".

developpez.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Cours Java et Eclipse de J.M. Doudoux

    developpez.com | 8 months ago
    org.jdom.IllegalNameException: The name "@valeur" is not legal for JDOM/XML attributes: XML names cannot begin with the character "@".

    Root Cause Analysis

    1. org.jdom.IllegalNameException

      The name "@valeur" is not legal for JDOM/XML attributes: XML names cannot begin with the character "@".

      at org.jdom.Attribute.setName()
    2. jOpenDocument
      Element.setAttribute
      1. org.jdom.Attribute.setName(Attribute.java:363)
      2. org.jdom.Attribute.<init>(Attribute.java:227)
      3. org.jdom.Attribute.<init>(Attribute.java:251)
      4. org.jdom.Element.setAttribute(Element.java:1128)
      4 frames
    3. com.jmdoudoux.test
      TestJDOM24.main
      1. com.jmdoudoux.test.jdom.TestJDOM24.main(TestJDOM24.java:21)
      1 frame