Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » XML Validator
XML Validator [message #86169] Wed, 23 March 2005 09:14 Go to next message
Eclipse UserFriend
Originally posted by: rpereira.di.ubi.pt

Hi,

I'm using the "XML Editor example" provided in Eclipse.

How can I use "XML Validator" provided by "WST" in my "XML Editor example"

Thanks.
Re: XML Validator [message #86201 is a reply to message #86169] Wed, 23 March 2005 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rui,

The XML validator should run automatically on XML files as you edit and
save them. You can manually run XML validation by right clicking on your
file and selecting Validate XML File.

Did that answer your question?


Lawrence


>Hi,
>
>I'm using the "XML Editor example" provided in Eclipse.
>
>How can I use "XML Validator" provided by "WST" in my "XML Editor
example"
>
>Thanks.
Re: XML Validator [message #86360 is a reply to message #86201] Wed, 23 March 2005 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rpereira.di.ubi.pt

Hi Lawrence,

Thanks for your answer.

What you say work, but I want that my editor read files with another
extension, for example XXX extension.

I want to validate the content of this file XXX with the XML validator.

The XML validator works by default in XML files but I want use this
validator in my editor.

I don't sure that it's possible.

thanks for answer,
Rui


"Lawrence Mandel" <lmandel@ca.ibm.com> escreveu na mensagem
news:d1s8b8$imf$1@news.eclipse.org...
> Hi Rui,
>
> The XML validator should run automatically on XML files as you edit and
> save them. You can manually run XML validation by right clicking on your
> file and selecting Validate XML File.
>
> Did that answer your question?
>
>
> Lawrence
>
>
>>Hi,
>>
>>I'm using the "XML Editor example" provided in Eclipse.
>>
>>How can I use "XML Validator" provided by "WST" in my "XML Editor
> example"
>>
>>Thanks.
>
Re: XML Validator [message #86463 is a reply to message #86360] Wed, 23 March 2005 14:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rui,

Bug 86385 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=86385) is
open for this enhancement to the validation framework. If you want to hack
in XML validation for your filetype for now take a look at the plugin.xml
file (http://tinyurl.com/486g5) in the XML validator
(org.eclipse.wst.xml.validation). Follow the example of registering an XML
validator for the .tld file extension.


Lawrence


>Hi Lawrence,
>
> Thanks for your answer.
>
> What you say work, but I want that my editor read files with another
>extension, for example XXX extension.
>
> I want to validate the content of this file XXX with the XML
validator.
>
> The XML validator works by default in XML files but I want use this
>validator in my editor.
>
> I don't sure that it's possible.
>
>thanks for answer,
>Rui
Re: XML Validator [message #86738 is a reply to message #86463] Thu, 24 March 2005 06:21 Go to previous message
Eclipse UserFriend
Originally posted by: rpereira.di.ubi.pt

Hi Lawrence,

Thanks for answer.

Rui

"Lawrence Mandel" <lmandel@ca.ibm.com> escreveu na mensagem
news:d1sgic$v7b$1@news.eclipse.org...
> Hi Rui,
>
> Bug 86385 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=86385) is
> open for this enhancement to the validation framework. If you want to hack
> in XML validation for your filetype for now take a look at the plugin.xml
> file (http://tinyurl.com/486g5) in the XML validator
> (org.eclipse.wst.xml.validation). Follow the example of registering an XML
> validator for the .tld file extension.
>
>
> Lawrence
>
>
>>Hi Lawrence,
>>
>> Thanks for your answer.
>>
>> What you say work, but I want that my editor read files with another
>>extension, for example XXX extension.
>>
>> I want to validate the content of this file XXX with the XML
> validator.
>>
>> The XML validator works by default in XML files but I want use this
>>validator in my editor.
>>
>> I don't sure that it's possible.
>>
>>thanks for answer,
>>Rui
>
Previous Topic:XSLT - Out of Scope
Next Topic:Tomcat 4.1 fails when deploying web service
Goto Forum:
  


Current Time: Mon Apr 28 03:10:02 EDT 2025

Powered by FUDForum. Page generated in 0.02235 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top