RE: Validation XMl entity

2006-11-26 Thread Vishal Seth
MASTEK
Making a valuable difference
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
all computers.
~~
---BeginMessage---
I want to know can I use the same set of validation by using Entity and
referencing it from an external file.

Like I have two fields in my application which is in most of the forms .

Can I define the validation in an external file and reference it using
xml entity..
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 24, 2006 8:24 PM
To: Struts Users Mailing List
Subject: Re: Validation XMl entity

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vishal,

Vishal Seth wrote:
 Hi,
   Does struts validation support XML entity.

What do you mean? Can explain this question in more detail?

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFZwej9CaO5/Lv0PARAs+RAKC7PFSI6AC23BMdFQKSNWoe6OhYnACfchpJ
NSN78a9Lbt7EXBSRwNff34I=
=LxyL
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---End Message---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validation XMl entity

2006-11-26 Thread Niall Pemberton

On 11/27/06, Vishal Seth [EMAIL PROTECTED] wrote:


I want to know can I use the same set of validation by using Entity and
referencing it from an external file.

Like I have two fields in my application which is in most of the forms .

Can I define the validation in an external file and reference it using
xml entity..


Theres a test case that does this in the Commons Validator tests - see
http://tinyurl.com/ttbpa:

 - EntityImportTest.java
 - EntityImportTest-config.xml
 - EntityImportTest-byteform.xml

Niall


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Friday, November 24, 2006 8:24 PM
To: Struts Users Mailing List
Subject: Re: Validation XMl entity

Vishal,

Vishal Seth wrote:
 Hi,
   Does struts validation support XML entity.

What do you mean? Can explain this question in more detail?

- -chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Validation XMl entity

2006-11-26 Thread Vishal Seth
Hi, 
  But does struts support when integrated with commons-validator?


-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 27, 2006 12:00 PM
To: Struts Users Mailing List
Subject: Re: Validation XMl entity

On 11/27/06, Vishal Seth [EMAIL PROTECTED] wrote:

 I want to know can I use the same set of validation by using Entity
and
 referencing it from an external file.

 Like I have two fields in my application which is in most of the forms
.

 Can I define the validation in an external file and reference it using
 xml entity..

Theres a test case that does this in the Commons Validator tests - see
http://tinyurl.com/ttbpa:

  - EntityImportTest.java
  - EntityImportTest-config.xml
  - EntityImportTest-byteform.xml

Niall

 -Original Message-
 From: Christopher Schultz [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 24, 2006 8:24 PM
 To: Struts Users Mailing List
 Subject: Re: Validation XMl entity

 Vishal,

 Vishal Seth wrote:
  Hi,
Does struts validation support XML entity.

 What do you mean? Can explain this question in more detail?

 - -chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





MASTEK 
Making a valuable difference
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
all computers.
~~


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Validation XMl entity

2006-11-24 Thread Vishal Seth
Hi,
  Does struts validation support XML entity.

Thanks
Vishal

MASTEK 
Making a valuable difference
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
all computers.
~~


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Validation XMl entity

2006-11-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vishal,

Vishal Seth wrote:
 Hi,
   Does struts validation support XML entity.

What do you mean? Can explain this question in more detail?

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFZwej9CaO5/Lv0PARAs+RAKC7PFSI6AC23BMdFQKSNWoe6OhYnACfchpJ
NSN78a9Lbt7EXBSRwNff34I=
=LxyL
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Validation XMl entity

2006-11-24 Thread Ed Griebel

Struts validation is generally used only for validations of fields
from HTTP submissions, check out
http://struts.apache.org/1.x/faqs/validator.html

If you need to validate an XML file, you may be able to use the Apache
Digester classes (http://jakarta.apache.org/commons/digester/) or some
of the J2SE java XML libraries.

-ed

On 11/24/06, Vishal Seth [EMAIL PROTECTED] wrote:

Hi,
  Does struts validation support XML entity.

Thanks
Vishal

MASTEK
Making a valuable difference
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
all computers.
~~


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]