Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 534459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:36:53+00:00 2026-05-13T09:36:53+00:00

Description Resource Path Location Type No grammar constraints (DTD or XML schema) detected for

  • 0
Description Resource    Path    Location    Type
No grammar constraints (DTD or XML schema) detected for the document.   TEST-net.kindleit.gae.example.server.MessageRepositoryTest.xml  /projecttest-gae-example/target/surefire-reports    line 1  XML Problem
No grammar constraints (DTD or XML schema) detected for the document.   appengine-web.xml   /projecttest-gae-example/src/main/webapp/WEB-INF    line 1  XML Problem
No grammar constraints (DTD or XML schema) detected for the document.   appengine-web.xml   /projecttest-gae-example/target/projecttest-gae-example-1.0-SNAPSHOT/WEB-INF    line 1  XML Problem
No grammar constraints (DTD or XML schema) detected for the document.   datastore-indexes-auto.xml  /projecttest-gae-example/WEB-INF/appengine-generated    line 1  XML Problem
No grammar constraints (DTD or XML schema) detected for the document.   jdoconfig.xml   /projecttest-gae-example/src/main/resources/META-INF    line 1  XML Problem
No grammar constraints (DTD or XML schema) detected for the document.   jdoconfig.xml   /projecttest-gae-example/target/projecttest-gae-example-1.0-SNAPSHOT/WEB-INF/classes/META-INF   line 1  XML Problem
No grammar constraints (DTD or XML schema) detected for the document.   webapp-cache.xml    /projecttest-gae-example/target/war/work    line 1  XML Problem

how to fix the above problem on eclipse? my project is maven based. Is it because I miss out some dtd files? how to include it?

example jdoconfig.xml

<?xml version="1.0" encoding="utf-8"?>
<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">

    <persistence-manager-factory name="transactions-optional">
        <property name="javax.jdo.PersistenceManagerFactoryClass"
            value="org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory"/>
        <property name="javax.jdo.option.ConnectionURL" value="appengine"/>
        <property name="javax.jdo.option.NontransactionalRead" value="true"/>
        <property name="javax.jdo.option.NontransactionalWrite" value="true"/>
        <property name="javax.jdo.option.RetainValues" value="true"/>
        <property name="datanucleus.appengine.autoCreateDatastoreTxns" value="true"/>
    </persistence-manager-factory>
</jdoconfig>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:36:53+00:00Added an answer on May 13, 2026 at 9:36 am

    Initial answer (Dec. 2009)

    If you have WTP (with the XML part included):

    Preferences->Validation->XML Validator-> unclick manual and/or build should prevent eclipse checking the DTD

    Or:

    From the Preference page, choose XML > XML Files. Under the section “Validating files” you can change the severity in the drop down from Warning to Ignore. Just note that this is for all XML files, not just build.xml. But you can just add build.xml to the exclude filter if you would still like this warning for other XML files.

    alt text


    Update (Feb. 2012)

    Someone made in the comments (now deleted) the valid point that you should Never ignore warnings.
    But Fix them!

    When ask how, he goes on (emphasis mine):

    I’d fix Eclipse because this is clearly a sign of bad design.
    For example I might report a bug to Eclipse Foundation bug tracker.
    Eclipse needs to add “sane” defaults for Spring/Java EE project files that are “known” to have no need of XML grammars.
    Either something is wrong with the file or Eclipse is broken somewhere.
    Three problems I had:

    1. with Log4j.xml file, saying it cannot find the XML definition for log4j.dtd although the file is in the system path where the Validator looks
    2. Ant build.xml file says I have no grammar constraints
    3. for some reason I can’t clean the project.

    There are actually bugs discussing strategies/bugs around those warning:

    • bug 218326: “”No grammar constraints” warnings for system files in the Problems view” did take the “exclusion route”
    • bug 331749 complains about “No grammar constraints” even though directory is excluded

    Obviously, more fixes are required regarding the management of those warnings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 275k
  • Answers 275k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Try this: copula:::asCall This was previously answered on R-help. That… May 13, 2026 at 2:39 pm
  • Editorial Team
    Editorial Team added an answer Using XHTML states an intent, don’t underestimate that (but don’t… May 13, 2026 at 2:39 pm
  • Editorial Team
    Editorial Team added an answer Not sure this is what you are after but... I… May 13, 2026 at 2:39 pm

Related Questions

I have no idea why this doesn't work #include <iostream> #include <pthread.h> using namespace
I seem to be missing libraries but I am not certain. In this file:
LessonInterface class ILesson { public: virtual void PrintLessonName() = 0; virtual ~ILesson() {} };
I have a basic question on array and pointer in C/C++. Say I have:
when will i add Advanced data grid in my project then it shows eror

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.