A
asciz
Hi
I'm having a problem with an XML file, most likely because of my lack
of understanding of XML schemas
I have the following XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Hello</display-name>
</web-app>
When I view it in a browser for example, some of the attributes of the
<web-app> element are missing. The only two attributes shown are
"version" and "xsi:schemaLocation".
Does anyone know why the other attributes are removed when viewed?
Many thanks
asciz
I'm having a problem with an XML file, most likely because of my lack
of understanding of XML schemas
I have the following XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Hello</display-name>
</web-app>
When I view it in a browser for example, some of the attributes of the
<web-app> element are missing. The only two attributes shown are
"version" and "xsi:schemaLocation".
Does anyone know why the other attributes are removed when viewed?
Many thanks
asciz