ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11870] New: - Ignore XML schema attbibutes in the root element
Date Tue, 20 Aug 2002 18:19:57 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message