Questions tagged [ambiguity]

Ambiguity can refer to two related concepts: 'ambiguous calls' and 'ambiguous grammars'.

400 questions
0
votes
1 answer

Pesky ORA-00918 Error on WHERE function with IN function

New to SQL, first time out, and I need the community's guidance!. I've been looking at this error for awhile now, as well documentation from W3Schools and the forum here...no dice! I'm creating a query to run on two different tables, COLUMNS have…
B_Brown
  • 3
  • 2
0
votes
1 answer

Ambiguity in overloaded function: how is it resolved?

I have overloaded << to print the contents of a pair, in two different forms (see code below). The first form is specific for the pair type defined. The second is templated, for any pair. Any of the two is ok for my pair type. When both prototypes…
0
votes
2 answers

Using both versions of Ajax (1.0.61025 & 3.5.0.0) in a same SharePoint web application

I'm working on a SharePoint web application. Since i can add web parts to the SharePoint pages i added two web parts A & B where A uses Ajax extensions 1.0 and B uses 3.5 version of it. If i enable Ajax in the web app i get the web.config entries…
NLV
  • 21,141
  • 40
  • 118
  • 183
0
votes
2 answers

Big Query Union Joins

I keep getting the following error: Error: Union results in ambiguous schema. [Bookings] is ambiguous and is aliasing multiple fields. Aliased fields: z.Bookings, Bookings I have looked at the other threads here and made (what I thought) were the…
0
votes
1 answer

Need to understand the @ sign before an attribute that resolves ambiguity

I'm adding validation attributes to the properties of my class. I have a library, let's just say a third party library, that contains a StringLengthAttribute. We know that there's an attribute with the same name under…
Lance
  • 2,774
  • 4
  • 37
  • 57
0
votes
1 answer

Ambiguity error while rendering parse tree

In Rascal, when rendering a parse tree, on an ambiguous grammar, why do I sometimes get an error message stating "Ambiguity" at some location instead of Rascal just rendering a parse forest and showing the ambiguity? I always just call…
0
votes
1 answer

How virtual inheritance solves Multiple inheritance(Diamond) in c++?Which path will it take?

Below Code is on Diamond problem. virtual inheritance solves this ambiguity. #include using namespace std; class A { public: void something(){cout<<"A"<
0
votes
1 answer

Differentiating matrices and and lists of lists in JSON

Suppose I have the matrix [[1, 2, 3, 4] [5, 6, 7, 8] [9,10,11,12]] and the list of lists [[1,2,3,4],[5,6,7,8],[9,10,11,12]] what JSON representations are in use that would enable differentiation of those two without ambiguity?
Adám
  • 6,573
  • 20
  • 37
0
votes
1 answer

Can I consider this derivation as Leftmost or/and Rightmost?

For example I would like to derive the string 'aabbccdd' from the given set of production: S -> AB | C A -> aAb | ab B -> cBd | cd C -> aCd | aDd D -> bDc | bc I can derive the string from AB using the leftmost and rightmost derivation. But how…
mmuncada
  • 528
  • 1
  • 11
  • 31
0
votes
1 answer

Tesseract ambiguity files work different for editing

I want to edit some text like Female and Male because When I test them I found them as FemaIe and MaIe (I mean with Capital I not small L (l) ). And I want to solve this issue using ambfile…
WwatlawW
  • 81
  • 2
  • 8
0
votes
2 answers

The variable 'MyException' is declared but never used in the instance

I need to clear this warning : try { // doSomething(); } catch (AmbiguousMatchException MyException) { // doSomethingElse(); } The compiler is telling me : The variable 'My Exception' is declared but never used How can I fix this.
0
votes
1 answer

Ambuigity with reserved keyword (?)

I have the following syntax definition with two reserved keywords and two similar statements: module Test // parse(#Statement,"do c") succeeds // parse(#Statement,"define c") gives an ambiguity start syntax Statement = do: "do" Identifier+ …
0
votes
1 answer

tesseract:ambiguity in characters

I am currently working on license plate recognition.For the same purpose I have trained the tesseract with extracted and preprocessed images of alphanumeric characters. In letters of 0,Q,D and B,8, ambiguity is occurring.I have attached the images…
0
votes
1 answer

Virtual inheritance / Polymorphism

So I'm looking at some weird cases of Polymorhpism and ambiguity. And there's one case which I cannot understand. I don't understand why the last line of the code below act this way. #include #include class Article { public : …
aramir
  • 127
  • 2
  • 9
0
votes
3 answers

C#: Why must we explicitly cast a class to an interface to access the class's non-ambiguous implemented methods?

Here are the classes and interfaces I have: public interface Baz { void someMethod(); } public interface Foo { void someMethod(); } public class Bar : Foo { void Foo.someMethod(){} } Question 1) Is it possible to remove Foo interface…
Ryan A WE
  • 59
  • 1
  • 10