CB2009 - Invalid version number, <?xml version=""1.1" encoding="utf-8"?>

We load and save files with XMLDocument and FastReport 4.7.

I get an error message:    Invalid version number, <?xml version=""1.1" 
encoding="utf-8"?>

Is 1.1 a valid XML version?

If version 1.1 is valid, when will XMLDocument be able to handle it?

Larry.
0
Larry
11/25/2008 4:46:19 PM
embarcadero.delphi.vcl.using 2297 articles. 2 followers. Follow

1 Replies
1124 Views

Similar Articles

[PageSpeed] 31

"Larry Griffiths" <larry@kalos-inc.com> wrote in message 
news:47706@forums.codegear.com...

> Is 1.1 a valid XML version?

Technically yes:

    http://www.w3.org/TR/2006/REC-xml11-20060816/

> If version 1.1 is valid, when will XMLDocument be able to handle it?

TXMLDocument does not do the actual parsing.  It delegates that to an 
external parser, such as MSXML or OpenXML.  For instance, if you are running 
on Windows, then you are likely using MSXML.  Unfortunately, Microsoft (and 
probably others) will not be supporting XML 1.1 anytime soon:

    http://msdn.microsoft.com/en-us/xml/bb291067.aspx

    "Microsoft has deliberately chosen not to support the XML 1.1 
Recommendation unless there is significant customer demand...Differences 
between XML 1.0 and XML 1.1 break the interoperable nature of XML....Due to 
this issue many software vendors have decided to not support XML 1.1.  The 
W3C acknowledges interoperability risks in the XML 1.1 specification, 
recommending organizations generate XML 1.0 unless a specific feature of XML 
1.1 is required...Microsoft, like many in the XML community, does not 
support XML 1.1 due to interoperability risks with existing XML 1.0 
implementations."

-- 
Remy Lebeau (TeamB)
0
Remy
11/25/2008 6:09:46 PM
Reply:

Similar Artilces:

Parser Error
What do I make to solve that problem? Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Stream is not a valid resource file.Source Error: Line 1: <?xml version="1.0" encoding="utf-8" ?> Line 2: <locales> Line 3: <inactive>Source File: /dotnetnuke320/App_GlobalResources/Locales.Portal.xml.resources    Line: 1 Version Information: Microsoft .NET Framework Versio...

<?xml version="1.0" encoding="utf-8"?>
Is there a way to manually put this delcaration at the top of at xml document being built by c# XmlTextWriter directly from a dataset?  Right now, all I'm getting is <NewDataSet><Table>.... Thanks, Jody Yes, call xmlTextWriter.WriteStartDocument() before writing out a dataset. But I wonder why do you need it? It's optional declaration.Oleg [XML MVP, MCPD]XmlLab.Net | http://blog.tkachenko.com The application consuming the xml expects it (sometime).  I'll try your fix.  Thank you. that got it.  you're the man. j...

<?xml version="1.0" encoding="utf-8" ?>
Blank to all,I insert this fragment of code in order to ask to you if eĀ“possibile to insert between the lines a code in order to copy file from one determined folder to an other and if eĀ“possibile you could indicate some information to me since they are ignoring in matter?<?xml version="1.0" encoding="utf-8" ?><Button ID="APAGAR"><Left>60</Left><Top>65</Top><Width>70</Width><Height>76</Height><Image>skin\Apagar\ApagarPP.png</Image><ImagePressed>Skin\Apagar\ApagarP.png</ImagePre...

<?xml version="1.0" encoding="utf-8" ?>
Hi, my web service returns this when generating a web method xml code. However, between the last " of the UTF-8 and the ? there is a space. When I build and debug my web service, it runs fine, but if I attempt to acces my web service through the browser on my localhost, this - <?xml version="1.0" encoding="utf-8" ?>   - does not appear, instead appears a message like this:  The XML document is not associated with styles. The document structure is representes above. (the original message is ir Portuguese, I've only translated!)And the rest o...

New Install: <?xml version="1.0" encoding="UTF-8" ?> error
Hi,I'm new to .net.  I'm trying to install DotNetNuke on my XP Pro with IIS 5.0 box.  I've made all the changes to web.config, created the db with permissions and I'm still getting the same error.Can't figure it out!Here's the error:  Server Error in '/DotNetNuke' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Stream is not a valid resource file.Source Error: Line 1...

Regular Expression to remove "/", "\", "<", ">" and "="
Can anyone please show me the regular expression to reject a string ("<blue", "right>" etc.) which has the following expression in it: "/", "\", "<", ">" and "="  hi, It may Help u.. it is in Class file u may use this expressin in validation controls also. Regex objReg = new Regex(@"^[^,.?/\~|`;:'<>]*$", RegexOptions.Singleline); Regex objReg = new Regex(@"^[^,][^.][^?][^/][^\][^~|][^`][^;][^:][^'][[^<][^>]$", RegexOptions.IgnoreCase);Thanks &...

Swap a "1" or "0" for a "Y" or "N"
I have a sql query that returns rows of data and one field returns a 1 (which means yes) or a 0 (which means no).  On my vb.net page, how do I replace the 1 with a Yes and the 0 with a No?  Or do I do this in the sql?  How do I do this in sql?Never make important decisions on a Monday! By default, VB.Net can understand 1 as Yes and 0 as No.I believe you are using those DB values for your Boolean Operations.Try to use If <DBValue> then <Operation>. If you are really need Yes/No .... Declare boolean variable in VB.net and set those variables. Thanks and R...

"<->" as "->" with automatic "is rw"
I like that arguments will be readonly by default. But when I look at my current code, I see that I would be typing " is rw" quite a lot, which in my opinion is too long for a thing that occurs very often. Every such situation in my code is a foreach loop. A thing that in Perl 6 will mostly be used with the pointy sub declaration syntax. If I'm not mistaken, <-> is still available. It communicates "bidirectional" and that is more or less the same as read/write access. I'm proposing for zip(@foos, @bars, @xyzzies) <-> $foo, $bar, $xyzz...

Using "+" or "||"
Using SQLAnywhere 5.5.04, I've gotten into the habit of using "||" in ISQL to indicate a string concatenation. I needed to paste my SQL statement into the PowerBuilder script painter for some embedded SQL, and PB didn't like the "||" very much at all. I changed it to "+" and it seems to be ok. Do these two operators indicate ~exactly~ the same thing? moin, afaik these two's are not the same! if you're using "||" and any term is NULL then in the resultstring the term will be ignored if you use "+" then the resu...

"Using" or "With"
Hi all Please can someone enlighten to me as regards the difference with the "Using" and "With" statement when accessing data - which is better, what are the limitations and/or any pointers. Many thanks. Regards DaveDavid WinchesterPlease mark as answer if this is the solution.  using gives you the ability to use the connection and it closes the connection directlly after you finish using it. and there is no need to try- cach - finaly. there is no limitation on using USING keywordMuhanad YOUNISMCSD.NETMy Blog || My Photos || LinkedIn I have a dataobject the re...

Can anyone tell me the diff between .net framework versions "1.1.4322.573" and "1.1.4322.903"
Production environment is running 1.1.4322.573 Pre Production environments are running 1.1.4322.903 We are seeing some javascript errors that are only happening in our production environment. All of our pre production environments for testing, development and what not seem to be running fine. We get the generic client side error that says which line, which char number and the brief description. The actuall error states "Expected ';' " . Here is the line of code that it's complaining about. "theform = document._ctl6:Form1;" This is microsoft ge...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD 9.0.0.580. Bruce "Bruce Lamb" <lamb.bruce@mayo.edu> wrote in message news:6HgI315nCHA.155@forums.sybase.com... > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

What is this for? "<label style=""display:none;"" for=""" & cboFieldType.ClientID.ToString & """>Type</label>"
I'm digging through the code of DNN and I found many ocurrences of this type of code: lblFieldType.Text = "<label style=""display:none;"" for=""" & cboFieldType.ClientID.ToString & """>Type</label>" What is that code for? The label is never displayed and I could not figure out what DDN uses it for. thank you This is for ADA compliance. The guidelines require that form elements have an associated label. This helps the text readers out with identifying the different parts of the form. BruceDynamic...

superreview requested: [Bug 427928] "ASSERTION: Non-border-colors case with borderColorStyleCount < 1 or > 3" and "ASSERTION: Unhandled border style" with <table style="outline: auto; "></table> : [At
Mats Palmgren <mats.palmgren@bredband.net> has asked David Baron [:dbaron] <dbaron@mozilla.com> for superreview: Bug 427928: "ASSERTION: Non-border-colors case with borderColorStyleCount < 1 or > 3" and "ASSERTION: Unhandled border style" with <table style="outline: auto;"></table> https://bugzilla.mozilla.org/show_bug.cgi?id=427928 Attachment 314802: Patch rev. 1 https://bugzilla.mozilla.org/attachment.cgi?id=314802&action=edit ------- Additional Comments from Mats Palmgren <mats.palmgren@bredband.net> Not sure...

Web resources about - CB2009 - Invalid version number, <?xml version=""1.1" encoding="utf-8"?> - embarcadero.delphi.vcl.using

Resources last updated: 12/26/2015 3:43:17 AM