Author |
Message
|
kuladeep.dairy |
Posted: Mon Oct 04, 2010 11:30 pm Post subject: Problem in processing  |
|
|
Apprentice
Joined: 11 Jul 2009 Posts: 38
|
<?xml version="1.0" encoding="utf-8"?>
<ABC xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
<s>| C</s>
</ABC>
I am having a problem in processing  character in a compute node. Seems like it is a control character. Can you please let me know how to handle this kind of control characters in WMB. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Oct 05, 2010 1:46 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Character 0x1A is not allowed in XML documents. So this is not a WMB issue - it's a problem with your XML data. In XML terms, your XML document is not 'well formed'. To put it more simply, your XML is broken.
If the XML came from another application, you should talk to the people who write/maintain it and ask them to send well-formed XML. They should remove illegal characters or else encode the entire text value as xs:hexBinary or xs:base64Binary. In case anyone suggests using a CDATA section - don't. CDATA is good and useful but it does not protect against illegal characters. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 05, 2010 4:16 am Post subject: Re: Problem in processing  |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kuladeep.dairy wrote: |
I am having a problem in processing  character in a compute node. |
I'm surprised you got as far as a Compute node (unless the data is arriving as a BLOB & being parsed there). Try opening the message data in IE or XMLSpy and see what happens. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Oct 05, 2010 4:56 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
I'm surprised you got as far as a Compute node |
Parse Timing defaults to On Demand - so no parsing will happen until something references the message body. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 05, 2010 5:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kimbert wrote: |
Quote: |
I'm surprised you got as far as a Compute node |
Parse Timing defaults to On Demand - so no parsing will happen until something references the message body. |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|