|
|
pinEdit WP
Started by mwsteidl at 01-23-2008 8:38 . Topic has 7 replies.
 
 
|
|
Sort Posts:
|
|
|
|
01-23-2008, 8:38
|
mwsteidl
Joined on 01-22-2007
Posts 5
|
What makes the XHTML difference?
|
|
|
|
|
PinEdit allows to set differt types of XHTML: 1.0 transactional, 1.0 strict, 1.1. Two questsions regarding this: 1) What makes the difference in behaviour (I see from the documentation e.g. the font tag is not supported in 1.0 strict and 1.1) and 2) Why is the set XHTML type not reflected in the document header: whatever I set for XHTMLType the header is always <?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
Michael
|
|
|
|
|
Report
|
|
|
|
01-24-2008, 8:32
|
Pintexx Support
Joined on 08-30-2005
Posts 1.574
|
Re: What makes the XHTML difference?
|
|
|
|
|
Michael,
1) If you insert i.e. a horizontal row and open the dialog by using context menu you will see that in XHTML 1.1 the shade attribute is not available.
There are more other beviours like this.
2) If you set the XHTML type and read the content by using XHTML then the doc type should return the corresponding dtd.
We have tested again and it works for us.
I assume you are talking about pinEdit 6.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
01-24-2008, 12:03
|
mwsteidl
Joined on 01-22-2007
Posts 5
|
Re: What makes the XHTML difference?
|
|
|
|
|
rHans-Peter,
re 2) I started with the button "new document", typed in some text and saved it. This apparently delivers always the XHTML 1.0 strict doc type definition. If I want to have a document with e.g. a XHTML 1.1 doc type definition I have to create an empty template, have to read it in, then I may type in some text and upon saving the document will have the XHTML 1.1 doc type - did I get this right?
Thanks
Michael
|
|
|
|
|
Report
|
|
|
|
01-24-2008, 2:46
|
Pintexx Support
Joined on 08-30-2005
Posts 1.574
|
Re: What makes the XHTML difference?
|
|
|
|
|
Michel,
the returned doctype is dependant of the setting of
editor.(set)XHTMLType = ...
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
01-24-2008, 6:46
|
mwsteidl
Joined on 01-22-2007
Posts 5
|
Re: What makes the XHTML difference?
|
|
|
|
|
Hans-Peter
When I start with "new document" then whatever I set to XHTMLType the returned file header is always <?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
Only if a load a file with an XHMTL 1.1 header and having set XHTMLType to "XHTML_11" then the right XHTML 1.1 header is returned.
Michael
|
|
|
|
|
Report
|
|
|
|
01-24-2008, 7:24
|
Pintexx Support
Joined on 08-30-2005
Posts 1.574
|
Re: What makes the XHTML difference?
|
|
|
|
|
Michael,
I'm sorry but this works for us.
Which version do you use (ctrl+F9) ?
Which technology ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
01-25-2008, 10:55
|
mwsteidl
Joined on 01-22-2007
Posts 5
|
Re: What makes the XHTML difference?
|
|
|
|
|
Hans-Peter: - Hm, Ctrl-F9 only shows a lot of variables. The read heading to text says: pinEdit WP Evaluation 6.1.1029 - on VS2005, SP1, Vista Extension, running on Vista. For some "clean testing" .... - I deleted and reapplied the PinEdit control - I set XHMTLType to "XHTML_11" - Created a new document by the button in the toolbar - typed in some text, saved it to an HTML file - the header says: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
But as my application will never create a new document and as reading in XHTML 1.1 documents apparently works this is not a true issue at the moment.
Michael
|
|
|
|
|
Report
|
|
|
|
01-25-2008, 11:49
|
Pintexx Support
Joined on 08-30-2005
Posts 1.574
|
Re: What makes the XHTML difference?
|
|
|
|
|
Michael,
thank you.
Nevertheless it should work and we will try to find out what happens.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinEdit WP » Re: What makes the XHTML difference?
|
|
|
|