44 lines
528 B
Markdown
44 lines
528 B
Markdown
![]() |
---
|
||
|
id: 5e7b9f0e0b6c005b0e76f07b
|
||
|
title: 'Web Services: XML'
|
||
|
challengeType: 11
|
||
|
videoId: _pZ0srbg7So
|
||
|
dashedName: web-services-xml
|
||
|
---
|
||
|
|
||
|
# --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>
|
||
|
```
|
||
|
|
||
|
## --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
|
||
|
|