You should at least be able to require that XML that is sent to you for import meet the standards or its not XML. Predefined entities go back to version 1.
http://www.w3.org/XML/http://www.w3.org/TR/2000/REC-xml-20001006#sec-predefined-ent>You're correct, it's not well formatted XML, however, it is XML that is being sent to me and I have no control over its generation. Looks like I'll have to complain about it and see if the source could fix it.
>
>Mike
>
>
>>Hi,
>>>
>>I have a string of XML ..
>>
>><rs:data>
>><z:row LandStreetNum='1000' LandStreetName='Richard's St'... />
>></rs:data>
>>
>>>
>>Oh no you don't - that's not valid (or more accurately, well-formed) XML.
>>Regards,
>>Viv
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"