cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: cvs commit: xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl
Date Tue, 24 Apr 2001 19:19:28 GMT
On Tue, 24 Apr 2001, Berin Loritsch wrote:

> giacomo@apache.org wrote:
> >
> > giacomo     01/04/24 11:59:32
> >
> >   Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
> >                         Tag: xml-cocoon2 sitemap.xsl
> >   Log:
> >   Made element attribute of map:part element in mapaggregate element optional
>
> There is an error in the XML.  Everything is included in an empty tag.  The
> following sitemap segment:
>
> <map:aggregate element="document">
>   <map:part element="instance" src="document.xml"/>
>   <map:part src="form.xsp"/>
> </map:aggregate>
>
> yeilds the following xml:
>
> <document>
>   <instance>
>     <!-- included stuff here -->
>   </instance>
>   <>
>     <!-- included stuff here -->
>   </>
> </document>
>
> Is there any way to fix that?

LOL! i just tried it and got this:

<root xmlns="http://intranet.webslingerZ.com/xml/site/v1">
< xmlns="http://intranet.webslingerZ.com/xml/site/v1">
<w:meta>
    <w:mode>view</w:mode>
<w:fontsize>12</w:fontsize>
<w:date>2001 . 04 . 24</w:date>
<w:body-background-color>#999999</w:body-background-color>
<w:inner-body-background-color>#cccccc</w:inner-body-background-color>
<w:link-color>#000099</w:link-color>
<w:table-background-color>#e6e6e6</w:table-background-color>
<w:table-title-color>#990000</w:table-title-color>
<w:table-head-color>#666666</w:table-head-color>
  </w:meta>
</>
< xmlns="http://intranet.webslingerZ.com/xml/site/v1">
<w:page>
...

ha. i didn't realize that empty string was a valid qname. :)

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message