[sf-perl] Some well-formed XML?
josh at agliodbs.com
Thu Sep 22 09:11:27 PDT 2005
> ColumnB is not null and not empty:
> ColumnB is not null, but is an empty string:
> ColumnB is null:
Are XML parsers going to treat (2) any differently from (3), though?
That is, if I hand an XML application (2), might it return (3) instead
Also, what about data types which don't support zero-length-strings
(ZLS), like dates?
My general inclination would be to treat all ZLS as NULLs in the
database, unless I have a specific reason to do otherwise or unless the
value is defined as "required" in the DTD.
Anyway, this is *terrific* food for thought. BTW, what was the name of
the CPAN module for SQL-->XML conversion which was demoed at SFPerl
abotu 6months ago?
More information about the SanFrancisco-pm