Hello guys,
I have a problem with the following piece of code:
<%@ page language="java" isELIgnored="false"
contentType="text/xml; charset=utf-8" pageEncoding="UTF-8" session="true"%>
then a number of taglib import
then
<content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xxx.com/mpxml"
xsi:schemaLocation="http://xxx.com/mpxml ../xsd/mpxml.xsd"
schemaVersion="0.0.1f"
providerID="" id="" type="014001-GAME">
then some
jsp code using xml tags defined in the xsd schema...
when viewing the page I get the following response:
the important part being simply
The XML file specified does not have an associated stylesheet. The document tree is shown below...
The question is: where do I need to put the xsd file in the web-app??? here you can see
xsi:schemaLocation="http://xxx.com/mpxml ../xsd/mpxml.xsd" so I put it in the directory before that where jsp is installed then xsd...
I also tried putting it und WEB-INF, under classes and many other attempts but with no luck
any suggestions?
thanks
<content xsi:schemaLocation="http://xxx.com/mpxml /mpxml.xsd" schemaVersion="0.0.1f" providerID="" id="" type="014001-GAME">
<Game>
<RelatedItems>
<Item>
<Title>
FIFA 11
</Title>
<Icon>
<Image href="display-image;jsessionid=CE1206571340E2F4E9BD91FFB76F1522?id=658127&deviceId=Mozilla%2f5.0+(SymbianOS%2f9.3%3b+Series60%2f3.2+NokiaE72-1%2f"/>
</Icon>
<ShortDescription>
blabla
</ShortDescription>
<Resource href="xxx.jsp;jsessionid=CE"/>
</Item>
</RelatedItems>
</Game>
</content>