4. Specify max length in XSD, max number for an integer

  Рет қаралды 16,502

Brandan Jones

Brandan Jones

Күн бұрын

Пікірлер: 13
@youssefbettidaifi9218
@youssefbettidaifi9218 7 жыл бұрын
i like your videos, i m Moroccan and studing in spain but your videos are the top of my liked videos trhaaaaank you
@discospiff
@discospiff 7 жыл бұрын
¡Muchas gracias! ¡Estuve en Alicante, España el mes pasado!
@JohnDoe-ki6fm
@JohnDoe-ki6fm 6 жыл бұрын
A very well done video, like the ones before it. Nice job - thanks for sharing.
@GPGowda
@GPGowda 3 жыл бұрын
Hello Brandon, if in case the number of characters cross the maxLength, how to make the XSD truncate the rest of the characters ?
@discospiff
@discospiff 3 жыл бұрын
Well, xsd can't truncate it; you have to do that programmatically. XSD can only tell you whether or not it's valid, and reject it if not.
@vedantipatel5306
@vedantipatel5306 4 жыл бұрын
Hello Brandan, I have a doubt. Can we use a configurable property from a file and set it in any restriction?
@discospiff
@discospiff 4 жыл бұрын
Hmmmm. I've never done it before, but one trick that might work... XSD files can include other XSD files. Perhaps you can include an XSD file that has all of your properties and values.
@vedantipatel5306
@vedantipatel5306 4 жыл бұрын
@@discospiff Thanks for the prompt reply! I will definitely try this.
@felipeg.2733
@felipeg.2733 5 жыл бұрын
Hello Brandan - I hope this message reaches you after so much time this video has been posted. I have been using Notepad++ and XML Tools however I have been having a hard time with the following error while trying to validate the .XSD file: "ERROR: Element '{www.w3.org/2001/XMLSchema}schema': No matching global declaration available for the validation root. ". Apparently there is an error in the first lines of the .XSD file which I have been struggling to find a solution. Do you have any idea how to fix it?
@discospiff
@discospiff 5 жыл бұрын
Can you paste the first few lines here? Or punt me to a repo wher I can look? First guess (without seeing it): the xmlns (namespace) entries at the top are tricky. Often a point of confusion.
@felipeg.2733
@felipeg.2733 5 жыл бұрын
@@discospiff Hello Brandan! Firstly, thank you so much for your prompt reply! I have redone over and over again and apparently, the problem relies on the Notepad++ itself! I have downloaded other XSD examples over the internet and the same error keeps being presented. Here are the first lines of my file: Anyway, do not worry about it! I started using VSCode and so far it has been running smoothly! Thank you so much for your classes! I don't think I could learn it faster and better anywhere else! Have a great week!
@ashadikusumo5278
@ashadikusumo5278 7 жыл бұрын
Amazing... Toop.
@discospiff
@discospiff 7 жыл бұрын
Thanks! You're watching a very fresh video. I just uploaded it. :)
5. Using date, boolean, and default in XSD to validate XML
7:45
Brandan Jones
Рет қаралды 12 М.
1. XSD Overview: Why use XSD? What is a simple type?
12:12
Brandan Jones
Рет қаралды 50 М.
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
9. XPath examples and demonstrations in XML
13:43
Brandan Jones
Рет қаралды 32 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 882 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 902 М.
7: Define our own type in XSD, create repeating group
13:44
Brandan Jones
Рет қаралды 9 М.
8. Overview and Discussion of XPath
13:12
Brandan Jones
Рет қаралды 10 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 12 М.
STM32 Guide #2: Registers + HAL (Blink example)
30:02
Mitch Davis
Рет қаралды 215 М.
11. Transform XML to HTML by using XSL/XSLT
15:57
Brandan Jones
Рет қаралды 72 М.
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН