id
type
5 (blog/news article)
status
21 (imported old-v2, waiting for another import)
review version
0
cleanup version
0
pending deletion
0 (-)
created at
2025-12-04 05:11:18
updated at
2025-12-04 05:11:19
url
https://matt.berther.io/2005/09/23/xpathnavigator-and-outerxml/
url length
63
url crc
39256
url crc32
1938266456
location type
1 (url matches target location, page_location is empty)
canonical status
10 (verified canonical url)
canonical page id
domain id
domain tld
86
domain parts
0
originating warc id
-
originating url
https://data.commoncrawl.org/crawl-data/CC-MAIN-2025-33/segments/1754151279901.12/warc/CC-MAIN-20250806074443-20250806104443-00597.warc.gz
source type
11 (CommonCrawl)
server ip
Publication date
2025-08-06 09:23:52
Fetch attempts
0
Original html size
14150
Normalized and saved size
11496
title
XPathNavigator and OuterXml
excerpt
content
A very simple .NET 2.0 (beta 2) application… static void Main(string[] args) { StringWriter writer = new StringWriter(); XmlTextWriter xmlWriter = new XmlTextWriter(writer); xmlWriter.WriteStartElement("foo"); xmlWriter.WriteCData(""); xmlWriter.WriteEndElement(); xmlWriter.Close(); Console.WriteLine(writer.ToString()); XPathDocument doc = new XPathDocument(new StringReader(writer.ToString())); Console.WriteLine(doc.CreateNavigator().OuterXml); } As you can see, this is utilizing an XmlTextWriter to write out a very simple fragment of xml. This then gets written out to the Console, and shows what I expect is the correct result: <foo><![CDATA[<bar>]]></foo> However, after I load up the XPathDocument and write OuterXml to the Console, I get this: <foo><bar></foo> Can anyone explain why this is happening, or is this a bug within the XPathNavigator?
author
updated
2025-12-30 07:52:08
block type
0
extracted fields
233
extracted bits
featured image
title
full content
content was extracted heuristically
OpenGraph suggests this is an article
detected location
0
detected language
1 (English)
category id
-
index version
1
paywall score
0
spam phrases
0
text nonlatin
0
text cyrillic
0
text characters
661
text words
122
text unique words
71
text lines
1
text sentences
2
text paragraphs
1
text words per sentence
61
text matched phrases
0
text matched dictionaries
0
links self subdomains
0
links other subdomains
0
links other domains
links spam adult
0
links spam random
0
links spam expired
0
links ext activities
0
links ext ecommerce
0
links ext finance
0
links ext crypto
0
links ext booking
0
links ext news
0
links ext leaks
0
links ext ugc
0
links ext klim
0
links ext generic
0
status
0
updated
2025-12-30 07:52:08
image author
featured image