• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

weblogic error

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I was trying to deploy a war file which was running fine on Tomcat to Weblogic and I see the following error on the log file.
Does anyone have an idea of why I am getting the following error



Thanks in Advance..
[ August 10, 2005: Message edited by: vanaja k ]
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

it�s complaining that your xml dd is not well formed as it says:

The content of element type "tag" must match "(name,tagclass,teiclass?,bodycontent?,info?,attribute*)

looks like you have declared a "tag" element and didn�t declar the required name and tagclass elements inside it. Strange that tomcat ignored it...
 
vanaja konda
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Here is my tld in the lines it gave errors.



Apprecite if anyone could let me know if there is any problem with the above.

Thanks
[ August 15, 2005: Message edited by: vanaja k ]
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shouldn't it be <tagclass></tagclass> insteadof <tag-class></tag-class> ?
This error informs that it is looking for tag <tagclass>

Check on the top of the tld file which dtd you are using 1.1 or 1.2. Like you can see below both specifications defines <tag> differently. For me it looks like you took file written for 1.2 and you're trying to validate it using 1.2.

In http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
<!ELEMENT tag (name, tagclass, teiclass?, bodycontent?, info?, attribute*) >

but in http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
<!ELEMENT tag (name, tag-class, tei-class?, body-content?, display-name?,
small-icon?, large-icon?, description?, variable*, attribute*, example?) >

In the future remember to check structure of your files with dtd or XMLSchema if you see such error. Manually or automatically using some tools. It will help You to save some time.

Best Regards
KArol Muszynski
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic