Skip to main content
0 votes
2 answers
34 views

XML schema includes schema without Namespace compile error in C#

I have a shared XML schema which has not namespace declared department.xsd <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/...
Helic's user avatar
  • 927
-3 votes
1 answer
41 views

Is there a way to validate and allow only https url's using .isUri i.e. without using Regex in JavaScript?

Is there a way to validate "https" url's using .isUri in javascript (it should return true only for https url's)? (any other method should be fine except regex) https://test.com //true test....
F-Developer's user avatar
0 votes
0 answers
40 views

Validating a Spring Boot endpoint with multiple request parts

I have a @RestController with the following endpoint @PutMapping public void updateEvent( @Valid @RequestPart EventRequest request, @RequestPart(required = false) MultipartFile file) { // ...
Dónal's user avatar
  • 187k
0 votes
1 answer
14 views

Pydantic Field constraint does not trigger with Optional type

I have a class with some attributes I want to constrain to a range. I did this with pydantics' Field constraint (e.g. ge=0), and expected the constraint to be enforced. However, validation does not ...
hunny14's user avatar
1 vote
0 answers
23 views

Zod .refine() method doesn't enforce "one of two fields required" rule in Vue 3

I'm working on a Vite/Vue 3 project and using Zod for form validation. I have a form with these two fields : descriptionActiEconomiques and noga I need to enforce the rule that at least one of them ...
Antoine's user avatar
  • 23
0 votes
1 answer
59 views

Conditional Dropdowns in Google Sheets Based on Multiple Criteria

I’m having trouble setting up conditional drop-downs in Google Sheets based on specific criteria. Here’s what I’m trying to achieve and the issues I’ve encountered: Objective I want to create a drop-...
djur's user avatar
  • 318
1 vote
0 answers
22 views

How to use Pandera to cross check if some substrings in one column are present in other column?

I have a Pandas DataFrameSchema like this: Schema = DataFrameSchema( columns={ 'Complete_Name': Column(name='Complete_Name', dtype='string', nullable=True), 'Surname': Column(name='...
Rafael Cassemiro Tezzotto's user avatar
0 votes
1 answer
38 views

How do i check if a cell value is smaller than 2 other cells and highlight the first

I have a specific problem I would like to solve. I would like to highlight cells in the N column if the K and/or L columns in the same row are a larger value. L is not always filled, but if necessary ...
Evert Mussche's user avatar
0 votes
3 answers
64 views

ASP.NET Core 8 MVC - view model validations

I have an ASP.NET Core 8 MVC application. Currently I'm trying to have an admin have the ability to create new clients for their e-commerce site. They have a simple form looking like this: NewClient....
DonDavid12's user avatar
0 votes
2 answers
61 views

In Laravel, how can I get the validation errors

I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn't run. With this code, I cannot seem to get where the error is, even though I can see that the ...
Vladimir Despotovic's user avatar
0 votes
0 answers
77 views

data validation in constructors c++ [closed]

Is it better or not to verify data using a constructor while creating the object? The user is not allowed to create an object until he enters correct data Is this true or no? Is there a better way ...
عبدالرحمن سعد's user avatar
0 votes
0 answers
28 views

Tensorflow-data-validation installing issue

I'm using Python 3.12, and I'm trying to install the latest version (1.15.1) of TensorFlow Data Validation. However, while installing, I encountered the following error: ERROR: Could not find a ...
Ranjith kumar K's user avatar
0 votes
0 answers
16 views

Validator returns "Attribute media not allowed on element source at this point"

My issue can be summarized with the following screenshot: Am I not understanding what this error means? Here's the full code: <video class="entry-video" width="1920" height=...
François Lacruche's user avatar
0 votes
1 answer
31 views

How to validate if a URL is an Okta domain?

How to validate if a URL is an Okta domain? I'm looking for a simple code solution to determine whether a given URL belongs to an Okta domain. Most Okta domains follow these patterns: example....
Nadav Spier's user avatar
0 votes
1 answer
36 views

Validation an object with at least one non-nullable field

Problem: Backend will receive an object, and at least one field must to be non-nullable. Example dto object: export class MessageDto implements TMessage { @IsString() @MinLength(1) roomId: ...
xNevrroXx's user avatar
  • 448

15 30 50 per page
1
2 3 4 5
4516