i did have a syntax error that fixed the space in the xml produced. Not sure why but it is working now,
Thanks All

On Oct 20, 2009, at 6:35 PM, Ramsey Lee Gurley wrote:


On Oct 20, 2009, at 3:50 PM, Simon wrote:

are you using a component to render xml ? if so, i think it's kind of asking for trouble. you better hope nobody ever hits ctrl-shift- f on that component or it might just screw everything up without anyone realising...


Are you seeing errors with command-shift-F? I do lots of XML in components, XHTML, RSS, SVG.... The only errors I remember having XML-wise with command-shift-F was it stripping namespaced attributes. Even then, I think Mike had it fixed before I could even file a JIRA.


we do tons of this stuff and predominantly use WOXMLCoder + XSLT, then handcraft


That word makes my skin crawl. You may not be to lazy to handcraft, but I am! Give me a reusable component any day. (^_~)


a response and stuff the output of our xml generation process into the content of the response. this way i can sleep at night.

simon

2009/10/20 Ian Coleman <[email protected]>
I am returning a WOActionResults in a directaction which is a dynamic xml file but it is getting messed up because the file is getting returned with a blank first line and the xml file then does not get read correct. Is there a way to fix this problem? A way to stop that first blank line from getting added?

Thanks
Ian

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40mac.com

This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to