Hmm... Maybe I am wrong.
C.A.T.Magic writes:
> Bruce Elrick wrote:
>> The XML standard states that all whitespace *between* tags, including
>> line feeds, is to be preserved by the parser. It is up to the
>> application to decide what to do. If your xml viewer is collapsing
>> spaces then it is not following the standard
>> I'm not sure what the standard says about spaces in tags, but I think
>> that can be changed without changing the semantic meaning of the XML.
>> So
>> <path
>> action=">
>> can be changed to <path action="A"> because the carriage return is *in*
>> the tag, but
>> <sometag>
>> Contents of the
>> tag
>> </sometag>
>> Is such that the string representing the contents of the tag would be
>> "\n Contents of the\n tag\n"
>> The application could then choose to manipulate the string. The initial
>> line feed comes as a suprise to some people.
>> Cheers...
>> Bruce
>
> if this is true, then the svn --xml output is REALLY broken because
>
> <msg>* branches/issue-531-dev/subversion: Merged -r2699:2702 changes
> from /trunk/subversion.
>
> * subversion/libsvn_fs/reps-strings.c (APR_ARRAY_IDX):
> Remove duplicate definition.
> </msg>
>
> would turn into somewhing like "\r\r\n" at least on Windows.
>
> ======
> c.a.t.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 4 01:57:31 2004