freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-wit.../python-for-everybody/web-services-xml.md

40 lines
634 B
Markdown
Raw Normal View History

---
id: 5e7b9f0e0b6c005b0e76f07b
challengeType: 11
videoId: _pZ0srbg7So
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
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.
solution: 3
```
</section>