Forgot your password?
Or sign in with one of these services
, March 3, 2005 in General and Gameplay Programming
This topic is 4735 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.
If you intended to correct an error in the post then please contact us.
Quote:Original post by Genjix^^
Quote:Original post by d000hgQuote:Original post by Genjix^^What does this mean?From the little I've used it I see no option to do this. It is probably something you could modify in the source in a few minutes though - you'd need to alter FirstChild() and the Attribute() methods although I'd recommend changing it so using it normally it works as before. ie pass through a bool specifying case-sensitivity which defaults to true.
Quote:XML is case-sensitive.
Quote:Original post by markrPlease DO NOT make your XML parser case-insensitive. This would make it accept badly-formed XML documents, as the following XML is not well-formed:<test></TEST>Instead, make your application case-insensitive in its treatment of element and attribute names. That way you still only accept well-formed XML.Mark
Quote:Original post by markrNo, do not do three checks for three different elements, instead after parsing but before you try to interpret your XML data, convert things to lowercase or use a case-insensitive compare function.I don't know why you want to make XML case insensitive anyway. Is it too difficult to write the element names in the proper case?XML is defined as being case sensitive and most applications which read it are. But not in every case, it's entirely up to the application.Mark
Started Saturday at 06:42 PM
Started Friday at 06:26 PM
Started Friday at 06:01 PM
Started Wednesday at 11:34 PM
Started February 13
Create an account with GameDev.net and join the game development conversation on our forums, blogs, articles, and more!