It would be easy to write a validator yourself to check on the number of
column, but as for the types of data, this is more of a business logic in
your application, and I doubt you'd find anything like that. Best thing to
do is to write one yourself.

- Ammar

On 1/3/07, etoom etoom <[EMAIL PROTECTED]> wrote:


yes of course, the number of columns, the type of data each column is
supposed to have (numbers, dates,..). that's it.

On 1/3/07, Ammar Ibrahim <[EMAIL PROTECTED]> wrote:
> What would make a CSV file valid or invalid? e.g. every record to have
the
> same number of column? etc
>
> - Ammar
>
>
>
> On 1/3/07, etoom etoom < [EMAIL PROTECTED]> wrote:
> >
> >
> > Salam all,
> > I'm trying to read a csv (comma separated values) file and store the
> > values in a database using perl, every thing is going great except I
> > can't find any module that validates csv file against a schema of some
> > form like we have in xml. Is their any?
> >
> > Yazan
> >
> > > >
> >
>

>


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Jolug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups-beta.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على