Hi,
I want to use some Entites in my XForms. But when I insert i.e. " " in my *.xhtml Files i got the error message: Fatal error: The entity "nbsp" was referenced, but not declared. How can i declare those Entities? The using of Doctype throws other exceptions when try savong my files, because of the declared Namespaces. Thanks one more time, Marcus -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hey,
At the top of your xhtml file just add: -----Original Message----- From: [hidden email] [mailto:[hidden email]] Sent: Monday, 2 April 2007 11:03 AM To: [hidden email] Subject: [ops-users] How to declare Entites? Hi, I want to use some Entites in my XForms. But when I insert i.e. " " in my *.xhtml Files i got the error message: Fatal error: The entity "nbsp" was referenced, but not declared. How can i declare those Entities? The using of Doctype throws other exceptions when try savong my files, because of the declared Namespaces. Thanks one more time, Marcus NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Marcus-2
Hi,
At the top of your XHTML just add: <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> It works fine for me NJ -----Original Message----- From: [hidden email] [mailto:[hidden email]] Sent: Monday, 2 April 2007 11:03 AM To: [hidden email] Subject: [ops-users] How to declare Entites? Hi, I want to use some Entites in my XForms. But when I insert i.e. " " in my *.xhtml Files i got the error message: Fatal error: The entity "nbsp" was referenced, but not declared. How can i declare those Entities? The using of Doctype throws other exceptions when try savong my files, because of the declared Namespaces. Thanks one more time, Marcus NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Naman,
when I add this Lines a can't save the xhtml file, because of the following error message: This file is not valid: Element 'xsl:stylesheet' does not match root element name 'html' from the DTD Here is the top of my xhtml-file: <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:exforms="http://www.exforms.org/exf/1-0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsl:version="2.0"> <head> ... What should i do? Thanks, Marcus ----- Original Message ----- From: "Naman Joshi" <[hidden email]> To: <[hidden email]> Sent: Monday, April 02, 2007 3:46 AM Subject: RE: [ops-users] How to declare Entites? Hi, At the top of your XHTML just add: <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> It works fine for me NJ -----Original Message----- From: [hidden email] [mailto:[hidden email]] Sent: Monday, 2 April 2007 11:03 AM To: [hidden email] Subject: [ops-users] How to declare Entites? Hi, I want to use some Entites in my XForms. But when I insert i.e. " " in my *.xhtml Files i got the error message: Fatal error: The entity "nbsp" was referenced, but not declared. How can i declare those Entities? The using of Doctype throws other exceptions when try savong my files, because of the declared Namespaces. Thanks one more time, Marcus NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Marcus,
How do you save these files? What editor are you using? Try also: <!DOCTYPE html [ <!ENTITY nbsp " "> ]> -Erik Marcus wrote: > Hi Naman, > when I add this Lines a can't save the xhtml file, because of the > following error message: > > This file is not valid: > Element 'xsl:stylesheet' does not match root element name 'html' from > the DTD > > Here is the top of my xhtml-file: > > <!DOCTYPE xsl:stylesheet [ > <!ENTITY nbsp " "> > ]> > <html > xmlns="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:exforms="http://www.exforms.org/exf/1-0" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xsl:version="2.0"> > <head> > ... > > What should i do? > Thanks, Marcus > > > ----- Original Message ----- From: "Naman Joshi" > <[hidden email]> > To: <[hidden email]> > Sent: Monday, April 02, 2007 3:46 AM > Subject: RE: [ops-users] How to declare Entites? > > > Hi, > > At the top of your XHTML just add: > <!DOCTYPE xsl:stylesheet [ > <!ENTITY nbsp " "> > ]> > > It works fine for me > > NJ > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] > Sent: Monday, 2 April 2007 11:03 AM > To: [hidden email] > Subject: [ops-users] How to declare Entites? > > Hi, > > I want to use some Entites in my XForms. > But when I insert i.e. " " in my *.xhtml Files i got the error > message: > Fatal error: The entity "nbsp" was referenced, but not declared. > > How can i declare those Entities? The using of Doctype throws other > exceptions when try savong my files, because of the declared Namespaces. > > Thanks one more time, > Marcus > > > NOTICE > This e-mail and any attachments are confidential and may contain > copyright material of Macquarie Bank or third parties. If you are not > the intended recipient of this email you should not read, print, > re-transmit, store or act in reliance on this e-mail or any attachments, > and should destroy all copies of them. Macquarie Bank does not guarantee > the integrity of any emails or any attached files. The views or opinions > expressed are the author's own and may not reflect the views or opinions > of Macquarie Bank. > > > > > -------------------------------------------------------------------------------- > > > >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Erik,
thanxs, that works quite well. On your questions - i work with Altova XMLSpy and Altova Stylevision. Any idea on my other requests? Since your help on the "unique"-constraints some of my forms aren't working. I replaced a new Entry on the Forum. Thanxs for that! Greetings, Marcus ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Monday, April 02, 2007 9:11 PM Subject: Re: [ops-users] How to declare Entites? > Marcus, > > How do you save these files? What editor are you using? > > Try also: > > <!DOCTYPE html [ > <!ENTITY nbsp " "> > ]> > > -Erik > > Marcus wrote: >> Hi Naman, >> when I add this Lines a can't save the xhtml file, because of the >> following error message: >> >> This file is not valid: >> Element 'xsl:stylesheet' does not match root element name 'html' from >> the DTD >> >> Here is the top of my xhtml-file: >> >> <!DOCTYPE xsl:stylesheet [ >> <!ENTITY nbsp " "> >> ]> >> <html >> xmlns="http://www.w3.org/1999/xhtml" >> xmlns:xforms="http://www.w3.org/2002/xforms" >> xmlns:ev="http://www.w3.org/2001/xml-events" >> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" >> xmlns:exforms="http://www.exforms.org/exf/1-0" >> xmlns:xi="http://www.w3.org/2001/XInclude" >> xmlns:f="http://orbeon.org/oxf/xml/formatting" >> xmlns:xhtml="http://www.w3.org/1999/xhtml" >> xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" >> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >> xmlns:xs="http://www.w3.org/2001/XMLSchema" >> xsl:version="2.0"> >> <head> >> ... >> >> What should i do? >> Thanks, Marcus >> >> >> ----- Original Message ----- From: "Naman Joshi" >> <[hidden email]> >> To: <[hidden email]> >> Sent: Monday, April 02, 2007 3:46 AM >> Subject: RE: [ops-users] How to declare Entites? >> >> >> Hi, >> >> At the top of your XHTML just add: >> <!DOCTYPE xsl:stylesheet [ >> <!ENTITY nbsp " "> >> ]> >> >> It works fine for me >> >> NJ >> >> -----Original Message----- >> From: [hidden email] [mailto:[hidden email]] >> Sent: Monday, 2 April 2007 11:03 AM >> To: [hidden email] >> Subject: [ops-users] How to declare Entites? >> >> Hi, >> >> I want to use some Entites in my XForms. >> But when I insert i.e. " " in my *.xhtml Files i got the error >> message: >> Fatal error: The entity "nbsp" was referenced, but not declared. >> >> How can i declare those Entities? The using of Doctype throws other >> exceptions when try savong my files, because of the declared Namespaces. >> >> Thanks one more time, >> Marcus >> >> >> NOTICE >> This e-mail and any attachments are confidential and may contain >> copyright material of Macquarie Bank or third parties. If you are not >> the intended recipient of this email you should not read, print, >> re-transmit, store or act in reliance on this e-mail or any attachments, >> and should destroy all copies of them. Macquarie Bank does not guarantee >> the integrity of any emails or any attached files. The views or opinions >> expressed are the author's own and may not reflect the views or opinions >> of Macquarie Bank. >> >> >> >> >> -------------------------------------------------------------------------------- >> >> >> >>> >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> >> >> > > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |