cancel
Showing results for 
Search instead for 
Did you mean: 

what is the meaning of standalone="true" in XML

mounikaravilla
Explorer
0 Kudos

Hi All,

I have found a error while executing mapping like :

The standalone document declaration value must be "yes" or "no", not "true".

data have:

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

After chaging the standalone to 'yes', it tetsed fine.

What is the standalone term in XML and mapping, and why is it required.

mounikaravilla
Explorer
0 Kudos

Hi Experts,

Plaese someone answer for this

0 Kudos

I have the same issue, did you find any solution?

Accepted Solutions (0)

Answers (1)

Answers (1)

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

Standalone = yes

It informs the parser whether the document relies on the information from an external source, such as external document type definition (DTD), for its content.

Standalone = no

The default value is set to no. Setting it to yes tells the processor there are no external declarations required for parsing the document.

Refer to the below link for your reference.

https://www.tutorialspoint.com/xml/xml_declaration.htm

Regards

Bhargava Krishna