OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Problem with Inserted space and Character on Solaris

[ Lists Home | Date Index | Thread Index ]

Title: Message
Michael
 
I stand humbled, my apologies. 
 
In my defence I, possibly naively, understood the point of the question to be that the problem could be a Coldfusion MX bug on Solaris rather than the code generating it that is the problem. 
 
However mightier minds than mine have spoken so I will certainly get the code from the developer.  This will take a couple of hours as they are in Portland and haven't woken up yet ;)
 
Best Regards always
 
Jason
 
 
 -----Original Message-----
From: Michael Kay [mailto:michael.h.kay@ntlworld.com]
Sent: 07 February 2003 14:30
To: 'Jason Brown'; 'XML-DEV (E-mail)'
Subject: RE: [xml-dev] Problem with Inserted space and Character on Solaris

Even on this erudite list, there are very few people who can debug code without seeing it.
 
But who knows, you might strike lucky.
 

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

-----Original Message-----
From: Jason Brown [mailto:Jason@i2.co.uk]
Sent: 07 February 2003 11:30
To: XML-DEV (E-mail)
Subject: [xml-dev] Problem with Inserted space and Character on Solaris


Hi everyone,

I received this email from a colleague earlier and am unable to answer it.  Knowing, as I do from lurking, the level of skill on this list, I was wondering if anyone on-list would be able to help.

      A client of mine has a MX application which does some XML/DOM manipulation and pushes the resulting XML out as the response (either to the browser on direct request, or to another script via cfhttp).

      Everything is working fine *except* that on Solaris only, the output has a single space character and a carriage return preceding the XML declaration. The *exact* same code, when executed on a Windows 2k server does *not* produce the extraneous white space. On both servers, they have turned on the option to suppress white space, and the script in question also uses RESET="YES" in a cfcontent tag directly preceding the <cfoutput> tag that returns the XML stream. While this sounds really minor, it's not: The XML in question must be processed by a plug-in which chokes if there is *any* white space before the XML declaration (which is fair enough as it isn't valid XML). Has anyone seen anything like this before?

Thank you all in advance

Jason

Jason Brown
Technical Consultant, I2 Limited
Tel: (01223) 728 670
Fax: (01223) 728 601
E-Mail: jason@i2.co.uk
URL: www.i2group.com

Q: Why do programmers always get Christmas and Halloween mixed up?
A: Because DEC 25 = OCT 31





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS