You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/20 20:19:57 UTC

DO NOT REPLY [Bug 11870] New: - Ignore XML schema attbibutes in the root element

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11870

Ignore XML schema attbibutes in the root element

           Summary: Ignore XML schema attbibutes in the root element
           Product: Ant
           Version: 1.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: rndzank@attbi.com


Since <antstructure> is not working and also it generates just a DTD there
should be other means to refer to a grammar definition (for syntax checking).
<!DOCTYPE ...> works OK but that allows only DTDs.
I tried to use a XML schema (manually created and modified from the incorrect
<antstructure> aoutput). For XML editing and validation this is way much better
but when I try to execute the build.xml it complains about the unexpected
attributes (the schema ones).

I can provide several reasons why XML schema is better than DTD, if required.

The <project> element should allow arguments like these:

<project 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="antstructure.xsd"
   name="my_project"
   default="build_all">

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>