case-sensitive

Is XML case-sensitive?

我们两清 提交于 2019-11-27 07:09:14
Short question Is XML case-sensitive? Longer question For example: <Shirt color="Red"/> The attribute color is of type string that may contain a set of valid colors ( Red , Blue and Green ). To validate the XML, I used the following XSD: <xs:simpleType name="ColorType"> <xs:restriction base="xs:string"> <xs:enumeration value="Red"/> <xs:enumeration value="Blue"/> <xs:enumeration value="Green"/> </xs:restriction> </xs:simpleType> Am I expected to accept different case variations of Red, Blue and Green? Or XML is widely accepted as case-sensitive? Jon Egerton Short Answer: Yes - XML is case

Reason why oracle is case sensitive?

无人久伴 提交于 2019-11-27 06:57:47
Is there a reason why Oracle is case sensitive and others like SQL Server, and MySQL are not by default? I know that there are ways to enable/disable case sensitivity, but it just seems weird that oracle differs from other databases. I'm also trying to understand reasons for case sensitivity. I can see where "Table" and "TaBlE" can be considered equivalent and not equivalent, but is there an example where case sensitivity would actually make a difference? I'm somewhat new to databases and am currently taking a class. By default, Oracle identifiers (table names, column names, etc.) are case-

How to write Case Sensitive Query for MS Access?

只谈情不闲聊 提交于 2019-11-27 06:51:18
问题 I want to know the Select Query for MS Access with case sensitive. I have two values for VitualMonitorName as below VCode VirtualMonitorName Row 1 (1, 'VM1'); Row 2 (2, 'Vm1'); Here both values are different. If I write "SELECT VCode FROM VirtualMaster WHERE VirtualMonitorName like '" + Vm1 + "'"; It replies VCode = 1 Only. 回答1: You can use the StrComp() function with vbBinaryCompare for a case-sensitive comparison. Here is an example from the Immediate window to show how StrComp() works. See

Is it possible for lxml to work in a case-insensitive manner?

不打扰是莪最后的温柔 提交于 2019-11-27 06:03:52
问题 I'm trying to scrape META keywords and description tags from arbitrary websites. I obviusly have no control over said website, so have to take what I'm given. They have a variety of casings for the tag and attributes, which means I need to work case-insensitively. I can't believe that the lxml authors are as stubborn as to insist on full forced standards-compliance when it excludes much of the use of their library. I'd like to be able to say doc.cssselect('meta[name=description]') (or some

On which operating systems or browsers are CSS font-family names case-sensitive

╄→гoц情女王★ 提交于 2019-11-27 05:59:28
问题 According to sitepoint ( a source I typically highly trust ) when specifying font-family names some Operating Systems/Browsers may be case-sensitive . I've typically always used mixed-case values but I'm wondering if lower-case values will work just the same? I don't have an overwhelming preference either way - but I'd hate for a page to render differently because I typed a lower-case "v" vs. "V" somewhere in a CSS file. e.g. are there any known cases where 2 divs with the foo and bar classes

Why is Common Lisp case insensitive?

喜你入骨 提交于 2019-11-27 05:49:43
问题 Is there an advantage to defining a function like (defun hi () "Hi!") and be able to call it by using (hi) or (HI) or (Hi) , or to (setf a-number 5) and be able to access that number using a-number , A-NUMBER , or A-Number ? If there is such an advantage, then why are most other languages case-sensitive? 回答1: Using case sensitive names in code within an interactive session is just more error-prone. Common Lisp is case sensitive. It is just that the Common Lisp reader functionality by default

MYSQL case sensitive search for utf8_bin field

ⅰ亾dé卋堺 提交于 2019-11-27 05:42:58
问题 I created a table and set the collation to utf8 in order to be able to add a unique index to a field. Now I need to do case insensitive searches, but when I performed some queries with the collate keyword and I got: mysql> select * from page where pageTitle="Something" Collate utf8_general_ci; ERROR 1253 (42000): COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'latin1' mysql> select * from page where pageTitle="Something" Collate latin1_general_ci; ERROR 1267 (HY000): Illegal mix

OData query $filter conditions and case-sensitivity

妖精的绣舞 提交于 2019-11-27 04:27:39
问题 Does OData specify whether filter conditions on string fields are to be evaluated case-sensitively or case-insensitively? Example: (from the docs) /Suppliers?$filter=Address/City eq 'Redmond' Is this expected to be case-sensitive or not? If I want to offer both options, how can this be expressed? There is a tolower() function that can be used like: /Suppliers?$filter=tolower(Address/City) eq 'redmond' or /Suppliers?$filter=tolower(Address/City) eq tolower('Redmond') Isn't there a more concise

Are column and table name case sensitive in MySQL?

不问归期 提交于 2019-11-27 04:09:21
If I have a column names called category_id and Category_Id , are they different? And if I have table called category and Category , are they different? On Unix, table names are case sensitive. On Windows, they are not. Fun, isn't it? Kinda like their respective file systems. Do you think it's a coincidence? In other words, if you are planning on deploying on a Linux machine, better test your SQL against a Linux-based MySQL too, or be prepared for mysterious "table not found" errors at prod time. VMs are cheap these days. Field names are case-insensitive regardless. EDIT: we're talking about

Is VB really case insensitive?

女生的网名这么多〃 提交于 2019-11-27 04:08:36
I'm not trying to start an argument here, but for whatever reason, it's typically stated that Visual Basic is case insensitive and C languages aren't (and somehow that is a good thing). But here's my question: Where exactly is Visual Basic case insensitive? When I type... Dim ss As String Dim SS As String ...into the Visual Studio 2008 or Visual Studio 2010 IDE, the second one has a warning of " Local variable SS is already declared in the current block ". In the VBA VBE, it doesn't immediately kick an error, but rather just auto-corrects the case. Am I missing something here with this