facebook

tld fragment validation error

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252985 Reply

    I am getting a validation error on my tld file.

    TLD file (part of it):

    <tag>
    <description></description>
    <name>mytag</name>
    <tag-class>mypackage.MyTag</tag-class>
    <body-content>scriptless</body-content>
    <attribute>
    <description></description>
    <name>myattribute</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>javax.jsp.tagext.JspFragment</type>
    <fragment>true</fragment> “<— Error here”
    </attribute>

    Error:
    cvc-complex-type.2.4.d: Invalid content was found starting with element ‘fragment’. No child element is expected at this point.

    #253028

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    I’m not sure what to tell you, if you are getting a validation error then there is something wrong with your file, check the spec and fix it so you don’t get the validation error. Autocomplete should show you the order the elements will come in.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: tld fragment validation error

You must be logged in to post in the forum log in