Skip to content

Commit 7a01369

Browse files
mairawBillWagner
authored andcommitted
markdig fixes (#2705)
1 parent ad04dd5 commit 7a01369

File tree

11 files changed

+32
-32
lines changed

11 files changed

+32
-32
lines changed

xml/System.Web.Services.Protocols/HttpWebClientProtocol.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@
479479
480480
481481
## Examples
482-
The following example sets the following proxy settings prior to invoking the `Math` XML Web service: the proxy server to http://proxyserver, the proxy port to 80 and the bypass to the proxy server for local addresses.
482+
The following example sets the following proxy settings prior to invoking the `Math` XML Web service: the proxy server to `http://proxyserver`, the proxy port to 80 and the bypass to the proxy server for local addresses.
483483
484484
[!code-cpp[Classic HttpWebClientProtocol.Proxy Example#1](~/samples/snippets/cpp/VS_Snippets_Remoting/Classic HttpWebClientProtocol.Proxy Example/CPP/source.cpp#1)]
485485
[!code-csharp[Classic HttpWebClientProtocol.Proxy Example#1](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic HttpWebClientProtocol.Proxy Example/CS/source.cs#1)]

xml/System.Web.UI.MobileControls.Adapters.XhtmlAdapters/XhtmlMobileTextWriter.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,9 +1246,9 @@
12461246
12471247
|Type|Description|
12481248
|----------|-----------------|
1249-
|<xref:System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype.XhtmlBasic>|\<\!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">|
1250-
|<xref:System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype.XhtmlMobileProfile>|\<\!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">|
1251-
|<xref:System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype.Wml20>|\<\!DOCTYPE html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/dtd/wml20.dtd">|
1249+
|<xref:System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype.XhtmlBasic>|`<\!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">`|
1250+
|<xref:System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype.XhtmlMobileProfile>|`<\!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">`|
1251+
|<xref:System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype.Wml20>|`<\!DOCTYPE html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/dtd/wml20.dtd">`|
12521252
12531253
This method is used primarily by developers of custom mobile page and control adapters.
12541254

xml/System.Web.UI.WebControls/Button.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@
857857
The <xref:System.Web.UI.WebControls.Button.PostBackUrl%2A> property allows you to perform a cross-page post using the <xref:System.Web.UI.WebControls.Button> control.
858858
859859
> [!NOTE]
860-
> Only correctly specified paths work with this property. For example, relative paths (Test/default.aspx), absolute paths (https://localhost/WebApp/default.aspx) and virtual (~\Test\default.aspx) work correctly. Incorrectly formed paths such as "/Test/default.aspx" or "\Test\default.aspx" do not work. See [ASP.NET Web Project Paths](https://msdn.microsoft.com/library/2447f50c-b849-483c-8093-85ed53e7a5bd) for a discussion on creating correct paths.
860+
> Only correctly specified paths work with this property. For example, relative paths (`Test/default.aspx`), absolute paths (`https://localhost/WebApp/default.aspx`) and virtual (`~\Test\default.aspx`) work correctly. Incorrectly formed paths such as "/Test/default.aspx" or "\Test\default.aspx" do not work. See [ASP.NET Web Project Paths](https://msdn.microsoft.com/library/2447f50c-b849-483c-8093-85ed53e7a5bd) for a discussion on creating correct paths.
861861
862862
Set the <xref:System.Web.UI.WebControls.Button.PostBackUrl%2A> property to the URL of the Web page to post to when the <xref:System.Web.UI.WebControls.Button> control is clicked. For example, specifying `Page2.aspx` causes the page that contains the <xref:System.Web.UI.WebControls.Button> control to post to `Page2.aspx`. If you do not specify a value for the <xref:System.Web.UI.WebControls.Button.PostBackUrl%2A> property, the page posts back to itself.
863863

xml/System.Xml.Serialization/XmlSerializationReader.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@
11721172
## Remarks
11731173
The protected members of <xref:System.Xml.Serialization.XmlSerializationReader> are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
11741174
1175-
The <xref:System.Xml.Serialization.XmlSerializationReader.GetArrayLength%2A> method applies to the `arrayType` attribute that is used with SOAP encoding and specified with the namespace "http://schemas.xmlsoap.org/soap/encoding/".
1175+
The <xref:System.Xml.Serialization.XmlSerializationReader.GetArrayLength%2A> method applies to the `arrayType` attribute that is used with SOAP encoding and specified with the namespace "<http://schemas.xmlsoap.org/soap/encoding/>".
11761176
11771177
]]></format>
11781178
</remarks>
@@ -1547,7 +1547,7 @@
15471547
## Remarks
15481548
The protected members of <xref:System.Xml.Serialization.XmlSerializationReader> are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
15491549
1550-
WSDL uses the namespace "http://schemas.xmlsoap.org/wsdl/".
1550+
WSDL uses the namespace "<http://schemas.xmlsoap.org/wsdl/>".
15511551
15521552
]]></format>
15531553
</remarks>

xml/System.Xml.Serialization/XmlSerializer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ xmlSerializer mySerializer=new XmlSerializer(typeof(LargeNumbers));
13141314
13151315
Before deserializing, an <xref:System.Xml.Serialization.XmlSerializer> must be constructed using the type of the object that is being deserialized.
13161316
1317-
Set the `encodingStyle` parameter to "http://schemas.xmlsoap.org/soap/encoding/ " for SOAP version 1.1 encoding; otherwise, set it to "http://www.w3.org/2001/12/soap-encoding" for SOAP version 1.2 encoding.
1317+
Set the `encodingStyle` parameter to "<http://schemas.xmlsoap.org/soap/encoding/>" for SOAP version 1.1 encoding; otherwise, set it to "<http://www.w3.org/2001/12/soap-encoding>" for SOAP version 1.2 encoding.
13181318
13191319
**Note** The <xref:System.Xml.Serialization.XmlSerializer> cannot deserialize the following: arrays of <xref:System.Collections.ArrayList> and arrays of <xref:System.Collections.Generic.List%601>.
13201320

xml/System.Xml.XPath/XPathNavigator.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ navigator.AppendChildElement(navigator.Prefix, "pages", LookupNamespaceURI(navig
726726
## Remarks
727727
A networked XML document is comprised of chunks of data, aggregated using various W3C standard inclusion mechanisms, and therefore contains nodes that come from different places. DTD entities are an example of this aggregated data, but it is not limited to DTDs. The <xref:System.Xml.XPath.XPathNavigator.BaseURI%2A> property tells you where these nodes originate from.
728728

729-
For example, if the XML data is loaded from http://server/mydata.xml, the <xref:System.Xml.XPath.XPathNavigator.BaseURI%2A> property returns http://server/mydata.xml.
729+
For example, if the XML data is loaded from `http://server/mydata.xml`, the <xref:System.Xml.XPath.XPathNavigator.BaseURI%2A> property returns `http://server/mydata.xml`.
730730

731731
> [!NOTE]
732732
> Nodes created using the <xref:System.Xml.XPath.XPathNavigator> class have the same <xref:System.Xml.XPath.XPathNavigator.BaseURI%2A> as the XML document the <xref:System.Xml.XPath.XPathNavigator> was created from.

xml/System.Xml/XmlDocument.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@
480480
## Remarks
481481
A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. The `BaseURI` tells you where these nodes came from.
482482
483-
For Document nodes, `BaseURI` returns the location of the XML document. For example, if the `XmlDocument` was loaded using the following call doc.Load("http://server/mydata.xml"), the `BaseURI` for the document node is http://server/mydata.xml. However, if the <xref:System.Xml.XmlDocument.Load%2A> method is redirected by server to a different URI, `BaseURI` returns the original URI passed to the `Load` method.
483+
For Document nodes, `BaseURI` returns the location of the XML document. For example, if the `XmlDocument` was loaded using the following call `doc.Load("http://server/mydata.xml")`, the `BaseURI` for the document node is `http://server/mydata.xml`. However, if the <xref:System.Xml.XmlDocument.Load%2A> method is redirected by server to a different URI, `BaseURI` returns the original URI passed to the `Load` method.
484484
485485
This property is a Microsoft extension to the Document Object Model (DOM). For additional information on `BaseURI` and how it behaves with other node types, see <xref:System.Xml.XmlNode.BaseURI%2A?displayProperty=nameWithType>.
486486

xml/System.Xml/XmlEntity.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,18 @@
8686
8787
where the external entity `a/b.xml` contains the XML text `<test>123</test>`.
8888
89-
If the document is loaded from http://server/mydata.xml, `BaseURI` returns the following:
89+
If the document is loaded from `http://server/mydata.xml`, `BaseURI` returns the following:
9090
9191
|NodeType|Name|BaseURI|
9292
|--------------|----------|-------------|
93-
|Attribute|num|http://server/mydata.xml|
94-
|Document|#document|http://server/mydata.xml|
95-
|DocumentType|item|http://server/mydata.xml|
96-
|Entity|xyz|http://server/mydata.xml|
97-
|Element|item|http://server/mydata.xml|
98-
|EntityReference|xyz|http://server/mydata.xml|
99-
|Element|test|http://server/a/b.xml|
100-
|Text|#text|http://server/a/b.xml|
93+
|Attribute|num|`http://server/mydata.xml`|
94+
|Document|#document|`http://server/mydata.xml`|
95+
|DocumentType|item|`http://server/mydata.xml`|
96+
|Entity|xyz|`http://server/mydata.xml`|
97+
|Element|item|`http://server/mydata.xml`|
98+
|EntityReference|xyz|`http://server/mydata.xml`|
99+
|Element|test|`http://server/a/b.xml`|
100+
|Text|#text|`http://server/a/b.xml`|
101101
102102
`BaseURI` looks for entity reference boundaries, so if entities are expanded, this information is not preserved and this property returns the location of the `XmlDocument` object in all cases.
103103

xml/System.Xml/XmlNamespaceManager.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
7373
Because the namespace manager provides a string comparison with the prefix and namespaces as objects, there is a performance improvement when using the namespace manager over the direct comparison of a string.
7474
75-
The following code example shows how to bind the prefix `xsd` with the namespace URI of `http://www.w3.org/2001/XMLSchema` and add it to the namespace manager:
75+
The following code example shows how to bind the prefix `xsd` with the namespace URI of <http://www.w3.org/2001/XMLSchema> and add it to the namespace manager:
7676
7777
```vb
7878
nsmgr.AddNamespace("xsd", "http://www.w3.org/2001/XMLSchema")
@@ -244,8 +244,8 @@ while (reader.Read())
244244
245245
|Prefix|Namespace|
246246
|------------|---------------|
247-
|xmlns|http://www.w3.org/2000/xmlns/ (the xmlns prefix namespace)|
248-
|xml|http://www.w3.org/XML/1998/namespace (the XML namespace)|
247+
|xmlns|<http://www.w3.org/2000/xmlns/> (the xmlns prefix namespace)|
248+
|xml|<http://www.w3.org/XML/1998/namespace> (the XML namespace)|
249249
|String.Empty|String.Empty (the empty namespace). This value can be reassigned a different prefix. For example, xmlns="" defines the default namespace to be the empty namespace|
250250
251251

xml/System.Xml/XmlNode.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -250,18 +250,18 @@ Display the modified XML...
250250
251251
where the external entity `a/b.xml` contains the XML text: `<test>123</test>`.
252252
253-
If the document is loaded from http://server/mydata.xml, `BaseURI` returns the following:
253+
If the document is loaded from `http://server/mydata.xml`, `BaseURI` returns the following:
254254
255255
|NodeType|Name|BaseURI|
256256
|--------------|----------|-------------|
257-
|Attribute|num|http://server/mydata.xml|
258-
|Document|#document|http://server/mydata.xml|
259-
|DocumentType|item|http://server/mydata.xml|
260-
|Entity|xyz|http://server/mydata.xml|
261-
|Element|item|http://server/mydata.xml|
262-
|EntityReference|xyz|http://server/mydata.xml|
263-
|Element|test|http://server/a/b.xml|
264-
|Text|#text|http://server/a/b.xml|
257+
|Attribute|num|`http://server/mydata.xml`|
258+
|Document|#document|`http://server/mydata.xml`|
259+
|DocumentType|item|`http://server/mydata.xml`|
260+
|Entity|xyz|`http://server/mydata.xml`|
261+
|Element|item|`http://server/mydata.xml`|
262+
|EntityReference|xyz|`http://server/mydata.xml`|
263+
|Element|test|`http://server/a/b.xml`|
264+
|Text|#text|`http://server/a/b.xml`|
265265
266266
`BaseURI` looks for entity reference boundaries, so if entities are expanded this information is not preserved and this property returns the location of the `XmlDocument` object in all cases.
267267

0 commit comments

Comments
 (0)