Developer forum

Forum » Development » Nyhedsbrev

Reply
 System.Xml.XmlException: The ' character, hexadecimal value 0x24, cannot be included in a name.    
at System.Xml.XmlDocument.CheckName(String name)    
at System.Xml.XmlElement..ctor(XmlName name, Boolean empty, XmlDocument doc)    
at System.Xml.XmlDocument.CreateElement(String prefix, String localName, String namespaceURI)    
at System.Xml.XmlDocument.CreateElement(String name)    
at Dynamicweb.Templatev2.TemplateXml.TagsToXml(XmlElement ParentElement, TagCollection tags)    
at Dynamicweb.Templatev2.Template.ParseXML()    
at Dynamicweb.Templatev2.Template.Output()    
at Dynamicweb.Modules.DataManagement.PublishingRenderer.RenderPublishing(Publishing pub, Template template)    
at Dynamicweb.Modules.DataManagement.PublishingFrontend.RenderPublishing(String result)    
at Dynamicweb.Modules.DataManagement.PublishingFrontend.GetContent()    
at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)
 
 
 
 
 
System.Xml.XmlException: The ' character, hexadecimal value 0x24, cannot be included in a name. 
at System.Xml.XmlDocument.CheckName(String name) 
at System.Xml.XmlElement..ctor(XmlName name, Boolean empty, XmlDocument doc) 
at System.Xml.XmlDocument.CreateElement(String prefix, String localName, String namespaceURI) 
at System.Xml.XmlDocument.CreateElement(String name) 
at Dynamicweb.Templatev2.TemplateXml.TagsToXml(XmlElement ParentElement, TagCollection tags) 
at Dynamicweb.Templatev2.Template.ParseXML() 
at Dynamicweb.Templatev2.Template.Output() 
at Dynamicweb.eCommerce.Frontend.Renderer.RenderProducts(ProductCollection Products) 
at Dynamicweb.eCommerce.Frontend.Frontend.ListProducts(ProductCollection products, String groupsIdent, Boolean hasBeenSorted) 
at Dynamicweb.eCommerce.Frontend.Frontend.List(String groups) at Dynamicweb.eCommerce.Frontend.Frontend.EcomRender() 
at Dynamicweb.eCommerce.Frontend.Frontend.GetContent() 
at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow) 

It's allways been a problem to send pages with modules that use XSLT templates. But now I somehow got, what I think is usable debug information. Somehow, someone has put in a ' character where it is not allowed when calling the xml data.

Without a fix for this. Newsletters are a nightmare for sites that use XSLT.

Replies

 
Reply
 And look at this. Here you are somehow trying to make an XML branch with the character $ in the name

XmlException: The '$' character, hexadecimal value 0x24, cannot be included in a name.]
   System.Xml.XmlDocument.CheckName(String name) +3933250
   System.Xml.XmlElement..ctor(XmlName name, Boolean empty, XmlDocument doc) +54
   System.Xml.XmlDocument.CreateElement(String prefix, String localName, String namespaceURI) +50
   System.Xml.XmlDocument.CreateElement(String name) +80
   Dynamicweb.Templatev2.TemplateXml.TagsToXml(XmlElement ParentElement, TagCollection tags) +308
   Dynamicweb.Templatev2.Template.ParseXML() +90
   Dynamicweb.Templatev2.Template.Output() +247
   Dynamicweb.Template.get_Output() +79
   Dynamicweb.Frontend.PageView.Output() +372
   Dynamicweb.NewsLetterV3.NewsletterPage.BuildPageView(Int32 intPageID) +325
   Dynamicweb.NewsLetterV3.NewsletterPage.GetPageView(String strPageUrl) +62
   Dynamicweb.Admin.NewsLetterV3.EditNewsletterStep1.LoadHTMLFromPage() +37
   Dynamicweb.Admin.NewsLetterV3.EditNewsletterStep1.InitEditorHTML() +186
   Dynamicweb.Admin.NewsLetterV3.EditNewsletter.SetWizardStep() +354
   Dynamicweb.Admin.NewsLetterV3.EditNewsletter.GoNext_Click(Object sender, EventArgs e) +54
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
 
Nicolai Høeg Pedersen
Reply
Seems like a bug. I've handed it over to QA which will take care of it.
 
Reply
 The first one is not the character ' but in stead a line break

 

You must be logged in to post in the forum