October 8, 2003 at 7:10 am
Does anyone know if this is valid XML...
<test>
my test data line1
my test data line2
</test>
I have a customer who is saying that carriage returns in XML are not valid XML!? Im sure they are, arn't they?
October 8, 2003 at 7:30 am
ok, found it on w3...
im write, customer wrong. For any reference...
2.2 Characters
Quote
[
Legal characters are tab, carriage return, line feed, and the legal characters of Unicode and ISO/IEC 10646.
]
October 8, 2003 at 7:34 am
Text between to tags is just that, Text.
Open the dicument with IE or XML Spy. If both of them render the document, what you have is fine.
You could, for special chars, use CDATA.
<test><![CDATA[ bla bl some special stuff]]--></test>
Cheers,
Crispin
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
October 8, 2003 at 7:42 am
quote:
im write, customer wrong.
How many times has this happened?
Cheers,
Crispin
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
October 8, 2003 at 7:56 am
i knew they were gonna be bother!! they are using our XML interface (.NET & SQL 2K XML) with PhP!!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply