> From: Amir Rosen [mailto:[EMAIL PROTECTED]]
> 
> 
> I'm trying to serialize a simple XML with an external DTD declaration,
> using a simple sitemap.
> Somehow, the comments from the referenced DTD are serialized with the
> file in the document type declaration, breaking the XML, since they
> should be inside square brackets (if at all).

Isn't this the same?

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


Vadim
 
> Why does it happen ? (parser/generator/serializer ?)
> How can i turn it off ?
> 
> Thanks,
> 
> Amir Rosen
> CTI Squared
> [EMAIL PROTECTED]
> +972-9-9605200(258)
> 
> 
> The Sitemap:
>   <map:match pattern="*.vxml">
>       <map:generate type="file" src="vxml/{1}.vxml"/>
>       <map:serialize type="xml"/>
>   </map:match>
> 
> 
> The File:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE vxml SYSTEM
'http://voicexml.nuance.com/dtd/nuancevoicexml-1-2.dtd'>
> <vxml version="1.0">
>       <catch event="x"/>
> </vxml>
> 
> 
> The Result:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE vxml SYSTEM
"http://voicexml.nuance.com/dtd/nuancevoicexml-1-
> 2.dtd"<!-- A DTD for Voice Extensible Markup Language --><!--
Copyright (c)
> 2000 VoiceXML Forum (AT&T, IBM, Lucent Technologies, Motorola) --><!--
<debug>
> and <log> permit logging capibilites tag within executable.content.
--><!--
> New 'accept.attrs' entity is added to menu, choice, and option in
>      the spirit of the VoiceXML 2.0 specification. This varies from
>      2.0 in that the default value is #IMPLIED, and is extended to
>      apply to option. --><!--================================= Root
> ================================--><!-- For backwards compatibility,
the
> version attribute defaults to 1.0
--><!--=================================
> Dialogs =============================--><!-- also allow %accept.attrs
--><!--
> also allow %accept.attrs --><!--================================
Prompts
> ==============================--><!--================================
Fields
> ===============================--><!-- <option> is more powerful with
optional
> <grammar>s and %audio;. --><!-- also allow %accept.attrs --><!--
> ================================== Events
=============================--><!--
> ============================== Audio Output
===========================--><!--
> The 'expr' attribute permits dynamically evaluated audio URLs. --><!--
> ============================= Audio Input
=============================--><!--
> <grammar> also permits <redef> children, which
>      can be used to define external grammars --><!-- an <redef>
element
> describes an external grammar through a src,
>      type and name of the grammar to be resolved by this external
>      grammar --><!--============================ Call Control
> ============================--><!--============================
Control Flow
> ============================--><!-- <param> elements are allowed to
have
> nested <param> children,
>      and an index to allow building up arrays/vectors.
>      Also, if index is specified name is not required. --><!--
> ========================== Verification
==============================--><!--
> Elements for destroying and manipulating voice buffers. --><!--
Elements for
> creating, destroying, and manipulating voice sessions. --><!--
> ========================== Miscellaneous
==============================--><!--
> <debug> and <log> link up with Nuance's JLAPI framework. --><!--
<link>s allow
> <object> to be treated like other <form>-items. --><!-- For debug
purposes,
> newlines are preserved by default. --><!-- For debug purposes,
newlines are
> preserved by default. -->>
> <vxml version="1.0">
>       <catch event="x"/>
> </vxml>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to