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
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: web-services-xml
|
2020-04-06 14:49:56 -04:00
|
|
|
---
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --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
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
## --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.
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
3
|
|
|
|
|