Re: setting a doctype.

Kimbro Staken <[email protected]> Tue, 2 Dec 2003 14:16:21 -0700
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
Right now I can't guarantee that the XML that is generated will 
actually validate as XHTML,  it's likely to have extra stuff in it. 
It's probably a minor deal to make the generated XML validate, but I'm 
very hesitant to have a DTD associated with any document that is 
processed by the Syncato core[1]. It's probably OK to have a doctype 
without the actual DTD reference as long as libxml doesn't complain 
about it. I don't ever use DTDs so I have no idea how it behaves. The 
namespace is OK too once I'm comfortable with calling what Syncato is 
generating XHTML, however just slapping it on will break content 
queries. That can be fixed by setting up a namespace context with the 
namespace pre-bound to the default namespace.

[1] The core will have to process the generated XHTML to do content 
queries.

On Dec 2, 2003, at 12:05 PM, Bruce D'Arcus wrote:

> On Dec 2, 2003, at 1:52 PM, darryl wrote:
>
>> reading this posting by Mr. Pilgrim: 
>> http://diveintomark.org/archives/2002/06/17/day_6_choosing_a_doctype
>> prompts me to ask, can we set a doctype with syncato somewhere?
>
> And shouldn't at least the xhtml namespace be declared as the default 
> namespace?
>
> Bruce
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by OSDN's Audience Survey.
> Help shape OSDN's sites and tell us what you think. Take this
> five minute survey and you could win a $250 Gift Certificate.
> http://www.wrgsurveys.com/2003/osdntech03.php?site=8
> _______________________________________________
> Syncato-general mailing list
> Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/syncato-general
>
>
Kimbro Staken
Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org



-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8