Hello,

I'm having problems with my app, I've borrowed the functionality of the
DOMPrint example to get my parsed XML to a string,
and when it "writes out" the XML_DECL_NODE, it uses the constant:

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?

Hmm now when checking, I see ENTITY_NODE also has chCR, chLF written out, is
this a must?
I'd rather put it all on the same line if it's ok with standards etc??

/Stefan



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

Reply via email to