Pular para o conteúdo principal

Questão de Programação — Linguagens de marcação — FGV 2015

ProgramaçãoLinguagens de marcação
Código
fg016798
Banca
FGV
Órgão
PGE-RO
Ano
2015
Nível
Superior
Cargo
Analista da Procuradoria - Analista de Sistemas (Negócios, Suporte e Microinformática)
Analise o código XML a seguir, gravado num arquivo intitulado teste.xml.<?xml version="1.0" encoding="UTF-8"?><note><to>A </to><from>B</from><heading>Lembrete</heading><body>&lt; Futebol ! &gt;</body></note>O texto exibido quando esse arquivo é aberto por meio de um browser é:
  1. A<note><to>A</to><from>B</from> <heading>Lembrete</heading> <body><Futebol!></body> </note>
  2. B<note><to>A</to><from>B</from> <heading>Lembrete</heading> <body>Futebol !</body> </note>
  3. C<note><to>A</to><from>B</from> <heading>Lembrete</heading> <body>&Futebol ! &</body> </note>
  4. D<note><to>A</to><from>B</from> <heading>Lembrete</heading> <body>;Futebol !;</body> </note>
  5. EThis page contains the following errors: error on line 6 at column 7: Opening and ending tagmismatch: to line 0 and unparseableBelow is a rendering of the page up to the first error.
Revelar gabarito e comentário

GabaritoA — <note> <to>A</to> <from>B</from> <heading>Lembrete</heading> <body><Futebol!></body> </note>

Link permanente: /questoes/fg016798