Bug 31313 - missing / on xsi:schemaLocation
Summary: missing / on xsi:schemaLocation
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.1
Hardware: All other
: P3 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2004-09-20 15:43 UTC by Pedro Salgado
Modified: 2004-11-16 19:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Salgado 2004-09-20 15:43:52 UTC
I have just downloaded standar-1.1.1 and noticed that on: c.tld, fmt.tld, sql.tld and x.tld this line 
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"

  on http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd is missing a final /


Pedro Salgado
Comment 1 Justyna Horwat 2004-10-18 17:22:19 UTC
According to the W3C document the schemaLocation declaration is made up of a pair of URI references. 
One defines the namespace name and the other is a hint as to the location of the schema document. 
The space in the schemaLocation definition separates the two declarations.

For a complete explanation you can take a look at part 3 of:


In the JSTL case the location is not an absolute URI which can be confusing especially to some IDE's. I 
went ahead and changed it to be an absoluate URI pointing to the schema document location. 

Note that there is a space character between the namespace declaration and schema document 
location. That space character is intentional.

I know that some IDE's may have problems with the new W3C standards. Hopefully they will be catching 
up and supporting these types of definitions soon.