Why doesn't this validate?
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 20
- Joined: Thu Sep 09, 2004 9:23 pm
Why doesn't this validate?
Hi,
I've been staring at this code for way too long and don't see anything wrong with it. Anyone see why Oxygen is complaining?
here is the code: (web.xml):
The error message that it gives me is this:
Yaakov.
I've been staring at this code for way too long and don't see anything wrong with it. Anyone see why Oxygen is complaining?
here is the code: (web.xml):
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
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"
version="2.4">
<!-- Your entries go here. -->
<!-- Disable the invoker servlet. -->
<servlet>
<servlet-name>NoInvoker</servlet-name>
<servlet-class>coreservlets.NoInvokerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>NoInvoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
<!-- If URL gives a directory but no filename, try index.jsp
first and index.html second. If neither is found,
the result is server-specific (e.g., a directory
listing).
-->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
Thanks,Severity Description Resource In Folder Location Creation Time
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Â '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '&'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '&'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '|'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '|'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '|'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'downloads'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Home'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'IBM : developerWorks : Error'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 3 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'My account'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Our apologies...'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 59 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Please try again later.'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 66 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Products '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Select a country'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 51 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'services'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Support '.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 44 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Thank you.'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 68 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'The IBM developerWorks Web site is currently under maintenance.'.
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 66 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
2 The element type "br" must be terminated by the matching end-tag "</br>".
SystemID: http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
Line: 80 web.xml app-blank/WEB-INF line 1 July 20, 2005 8:34:55 PM
Yaakov.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Yaakov,
The problem is that one of the included/imported schemas, or some of them contain instead of the schema content something like:
***
Our apologies
The IBM developerWorks Web site is currently under maintenance.
Please try again later.
Thank you.
***
See http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
The solution is to get a local copy of the schemas together with an XML Catalog that resolves the remote references to the local copies and set the catalog in oXygen. This is also recommended for speeding up the validation.
Best Regards,
George
The problem is that one of the included/imported schemas, or some of them contain instead of the schema content something like:
***
Our apologies
The IBM developerWorks Web site is currently under maintenance.
Please try again later.
Thank you.
***
See http://www-128.ibm.com/developerworks/w ... nt_1_1.xsd
The solution is to get a local copy of the schemas together with an XML Catalog that resolves the remote references to the local copies and set the catalog in oXygen. This is also recommended for speeding up the validation.
Best Regards,
George
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service