logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Re: editing Ant files using nxml-mode?: msg#00028

Subject: Re: Re: editing Ant files using nxml-mode?
Steinar Bang wrote:

  Hi

> I had to doctor the generated DTD, remove a duplicate
> ELEMENT and add a missing attribute on another element.

> But it's a start.

  I've just gave it a quick try.  Seems pretty good.

  I just found that the javac element doesn't accept the
attributes memoryInitialSize and memoryMaximumSize, but
accepts memoryinitialsize and memorymaximumsize (note the
case), while the Ant doc says they have to be camel cased.

  I don't know if Ant accepts both cases for element and
attribute names.

> I use the following line in schemas.xml to trigger it:
>   <documentElement localName="project" uri="antproject.rnc" />

> I worried a bit if this would collide with the setting of
> the maven schema (maven also has <project> as its top
> element), but using this setting for maven triggers usage
> of the maven schema:
>   <namespace ns="http://maven.apache.org/POM/4.0.0";
>              uri="maven-v4_0_0.rnc" />

  I don't have the precedence rules in mind, but you should
find them in (info "(nxml-mode)Schema locating files").
Here is what I have in my schemas.xml:

    <uri pattern="*/build.xml" typeId="ANT"/>
    <documentElement localName="project" typeId="ANT"/>
    <typeId id="ANT" uri="ant.rnc"/>

  Do you have a public URI for this schema?  If you don't,
would you mind if I added it to my site in order to point it
from a blog post?

  BTW, does someone here have some interesting schema he/she
uses?  The most useful I get until know is the XSLT (both
1.0 and 2.0 in the same schema) from Norman.

  Regards,

--drkm





















      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:emacs-nxml-mode-digest@xxxxxxxxxxxxxxx 
    mailto:emacs-nxml-mode-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe