How to declare Entites?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How to declare Entites?

Marcus-2
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
Reply | Threaded
Open this post in threaded view
|

RE: How to declare Entites?

NJ No1
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
Reply | Threaded
Open this post in threaded view
|

RE: How to declare Entites?

NJ No1
In reply to this post by Marcus-2
Hi,

At the top of your XHTML just add:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp "&#x00A0;">
]>

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. "&nbsp;" 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
Reply | Threaded
Open this post in threaded view
|

Re: How to declare Entites?

Marcus-2
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 "&#x00A0;">
]>
    <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 "&#x00A0;">
]>

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. "&nbsp;" 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
Reply | Threaded
Open this post in threaded view
|

Re: How to declare Entites?

Erik Bruchez
Administrator
Marcus,

How do you save these files? What editor are you using?

Try also:

<!DOCTYPE html [
<!ENTITY nbsp "&#x00A0;">
]>

-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 "&#x00A0;">
> ]>
>    <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 "&#x00A0;">
> ]>
>
> 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. "&nbsp;" 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
Reply | Threaded
Open this post in threaded view
|

Re: How to declare Entites?

Marcus-2
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 "&#x00A0;">
> ]>
>
> -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 "&#x00A0;">
>> ]>
>>    <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 "&#x00A0;">
>> ]>
>>
>> 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. "&nbsp;" 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