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
|
|
|
|
isRequired: true
|
|
|
|
videoId: _pZ0srbg7So
|
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
question:
|
|
|
|
text: 'What is wrong with the following XML?
|
|
|
|
<pre><person><br>
|
|
|
|
<name>Chuck</name><br>
|
|
|
|
<phone type="intl"><br> +1 734 303 4456<br>
|
|
|
|
<email hide="yes" /><br>
|
|
|
|
</person></pre>'
|
|
|
|
answers:
|
|
|
|
- '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.'
|
|
|
|
solution: 3
|
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|