2020-04-06 14:49:56 -04:00
|
|
|
---
|
|
|
|
id: 5e7b9f0e0b6c005b0e76f07b
|
2020-04-21 23:37:02 -05:00
|
|
|
title: 'Web Services: XML'
|
2020-04-06 14:49:56 -04:00
|
|
|
challengeType: 11
|
|
|
|
videoId: _pZ0srbg7So
|
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
question:
|
2020-05-31 13:57:09 +01:00
|
|
|
text: |
|
|
|
|
What is wrong with the following XML?:
|
|
|
|
```xml
|
|
|
|
<person>
|
|
|
|
<name>Chuck</name>
|
|
|
|
<phone type="intl">
|
|
|
|
+1 734 303 4456
|
|
|
|
<email hide="yes" />
|
|
|
|
</person>
|
|
|
|
```
|
2020-04-06 14:49:56 -04:00
|
|
|
answers:
|
2020-05-31 13:57:09 +01:00
|
|
|
- |
|
|
|
|
Email tag is missing closing tag.
|
|
|
|
- |
|
|
|
|
Spacing will cause XML to be invalid.
|
|
|
|
- |
|
|
|
|
Phone tag is missing closing tag.
|
|
|
|
- |
|
|
|
|
Plain text should be encoded using UTF-8.
|
2020-04-06 14:49:56 -04:00
|
|
|
solution: 3
|
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|