Hi everybody,
this probably is some kind of beginners questions... I'm using Eclipse's XML/JSP editor from the WTP project to edit my JSP files that contain XForms elements. Unfortunately the JSP/XML editor always complains "taglib directive for 'xforms' does not exist or TLD is not found." The used namespaces look liks this: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"> I've tried to download the XForms schema from http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd and to add it to Eclipse's XML Catalog, but without success. Has anybody got an idea what I'm doing wrong and how to eliminate that validation error? - bitbyter -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
BitByter,
Since you are editing a JSP file, it looks like Eclipse thinks those <xforms:*> are from a taglib, and maybe doesn't even look for the corresponding schema. Do you know if Eclipse can edit JSP and XML in the same file? Maybe they have an XML editor and a JSP editor, and those are two different things. Have you tried to right clic on the file and and choose open in XML editor, which would open the file in a pure XML editor? Alex On 4/24/07, BitByter <[hidden email]> wrote: > Hi everybody, > > this probably is some kind of beginners questions... > > I'm using Eclipse's XML/JSP editor from the WTP project to edit my JSP files > that contain XForms elements. Unfortunately the JSP/XML editor always > complains "taglib directive for 'xforms' does not exist or TLD is not > found." > > The used namespaces look liks this: > > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"> > > > I've tried to download the XForms schema from > http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd and to add it to > Eclipse's XML Catalog, but without success. > > Has anybody got an idea what I'm doing wrong and how to eliminate that > validation error? > > - bitbyter > > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Wednesday, April 25, 2007, 2:36:19 AM, Alex wrote: AV> BitByter, AV> Since you are editing a JSP file, it looks like Eclipse thinks those AV> <xforms:*> are from a taglib, and maybe doesn't even look for the AV> corresponding schema. Do you know if Eclipse can edit JSP and XML in AV> the same file? Maybe they have an XML editor and a JSP editor, and AV> those are two different things. Have you tried to right clic on the AV> file and and choose open in XML editor, which would open the file in a AV> pure XML editor? Of course I've tried that, but with the same result. It's very strange... :( Maybe I've to give Eclipse 3.3 a chance?! -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 4/26/07, Bit Byter <[hidden email]> wrote:
> Of course I've tried that, but with the same result. It's very > strange... :( Maybe I've to give Eclipse 3.3 a chance?! I don't have much experience with using Eclipse as an XML editor. You may want to try to ask the question on one of the Eclipse mailing lists. Alex -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
My XForms documents don't contain any JSP, but what I've been doing is
using OxygenXML plugin [1] to edit my XML-based files and then use the schema files from the xH set. [2] I've had to modify the files a little bit to get them working the way I wanted. It seems like Mark Birbeck hasn't really been updating them too frequently. Using these files, I've been able to both validate my XForms and have tag completion. [1]: http://www.oxygenxml.com/ [2]: http://skimstone.x-port.net/xh -- Daniel E. Renfer http://kronkltd.net/ On 4/26/07, Alessandro Vernet <[hidden email]> wrote: > On 4/26/07, Bit Byter <[hidden email]> wrote: > > Of course I've tried that, but with the same result. It's very > > strange... :( Maybe I've to give Eclipse 3.3 a chance?! > > I don't have much experience with using Eclipse as an XML editor. You > may want to try to ask the question on one of the Eclipse mailing > lists. > > Alex > -- > Orbeon Forms - Web 2.0 Forms for the Enterprise > http://www.orbeon.com/ > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |