Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No XML schema association in appengine-web-xml files #2

Open
GoogleCodeExporter opened this issue Jan 27, 2016 · 2 comments
Open

No XML schema association in appengine-web-xml files #2

GoogleCodeExporter opened this issue Jan 27, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Set a project in Eclipse
2. Locate appengine-web.xml
3. Right-click it ans select "Validate"

It returns "No grammar constraints (DTD or XML schema) detected for the 
document.   appengine-web.xml   /myApp/war/WEB-INF  line 1  XML 
Problem" and the file is always flagged by a yellow attention marker. 

It should enumerate the errors found in the file. Schema validation is a 
powerful tool that should be better leveraged. Instead of reporting an XML 
error at the end of the deployment process. 

This is GAE 1.3.0 in Galileo under Windows XP

Original issue reported on code.google.com by juan.la...@gmail.com on 30 Dec 2009 at 4:24

@GoogleCodeExporter
Copy link
Author

I tried the properties below, no luck:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app 
xmlns="http://appengine.google.com/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="C:\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.1.
3.0_1.3.0.v200912141120\appengin
e-java-sdk-1.3.0\docs\appengine-web.xsd">
    <application>ar-com-tecnosol-delivery</application>
    <version>1</version>
</appengine-web-app>

Original comment by juan.la...@gmail.com on 30 Dec 2009 at 4:27

@GoogleCodeExporter
Copy link
Author

Following the instructions in
http://help.eclipse.org/help32/index.jsp?
topic=/org.eclipse.wst.xsdeditor.doc.user/topics/tvdtschm.html
I added the schema to the catalog and it worked fine. 
Only I hardcoded the 1.3.0 file location and it will flop after installing a 
new 
version. Ideally a reference to a file on the web is needed. 
Is there one such file published by Google?

Original comment by juan.la...@gmail.com on 30 Dec 2009 at 6:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant