Stefan Berglund wrote:
> static const XMLCh gXMLDecl4[] =
> {
> chDoubleQuote, chQuestion, chCloseAngle
> , chCR, chLF, chNull
> };
>
> Couldn't this be a problem in Unix ? CR/LF can cause a ^M character in some
> cases? Is the XML standard saying that there should be a new line
> after the declaration section, or could the gXMLDecl4 constant end with
> chNull directly after the chCloseAngle?
I seem to recall something about only one of these (CR or LF) being
permitted in XML, and that a combination of CR/LF must be converted to
the legal one by the parser, meaning you can have CR/LF in the valid XML
file(which in turn makes it editable even in Windows Notepad), but you
can't have it in the XML data...
I don't remember the reference, anyone care to confirm or unconfirm?
--
<[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]>
)____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_(
/"Opinions expressed are mine and not those of my Employer, "\
( "the University, my girlfriend, stray cats, banana fruitflies, " )
\"nor the frontal lobe of my left cerebral hemisphere. "/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]