Skip to content

Commit ff48aea

Browse files
authored
markdig fixes - Part 7 (#2564)
* markdig fixes - bare URLs * Apply suggestions from peer review Co-Authored-By: Ron Petrusha <[email protected]> * feedback
1 parent 9e2302c commit ff48aea

File tree

15 files changed

+46
-47
lines changed

15 files changed

+46
-47
lines changed

xml/System.Security.Cryptography.Xml/KeyInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
3636
The <xref:System.Security.Cryptography.Xml.KeyInfo> class enables you to imbed key-related information intended to help identify the key necessary for validating or decrypting the XML document. Multiple types of key-related information can be included within a single <xref:System.Security.Cryptography.Xml.KeyInfo>; each type of key-related information has an associated class derived from <xref:System.Security.Cryptography.Xml.KeyInfoClause>.
3737
38-
For more information about the `<KeyInfo>` element, see the XMLDSIG specification, which is available from the W3C at www.w3.org/TR/xmldsig-core/, or see the XML encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
38+
For more information about the `<KeyInfo>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3939
4040
4141

xml/System.Security.Cryptography.Xml/KeyInfoClause.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
## Remarks
3030
You can use <xref:System.Security.Cryptography.Xml.KeyInfoClause> objects to build a <xref:System.Security.Cryptography.Xml.KeyInfo> object for a specific digital signature or encrypted XML document. <xref:System.Security.Cryptography.Xml.KeyInfo> allows recipients of XML digital signatures and encrypted XML documents to determine which signing method and key values should be used for validation and decryption.
3131
32-
For more information about the <xref:System.Security.Cryptography.Xml.KeyInfo> element and its subelements, see the XMLDSIG specification, which is available from the W3C at www.w3.org/TR/xmldsig-core/, or see the XML encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
32+
For more information about the <xref:System.Security.Cryptography.Xml.KeyInfo> element and its subelements, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3333
3434
]]></format>
3535
</remarks>

xml/System.Security.Cryptography.Xml/KeyInfoName.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
## Remarks
3030
The `<KeyName>` element contains a string identifier that the party validating or decrypting an XML document uses to identify the corresponding key. For example, if you receive an encrypted or signed XML document that has a `<KeyName>` element value of "AsymmetricKey1", you will use a key that you and the sender have named "AsymmetricKey1" to decrypt or verify the document. Both parties must agree on a key name mapping ahead of time. Note that the actual key is not imbedded in the XML document.
3131
32-
For more information about the `<KeyName>` element, see Section 4.4.1 of the XMLDSIG specification, which is available from the World Wide Web Consortium (W3C) at www.w3.org/TR/xmldsig-core/, or see the XML Encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
32+
For more information about the `<KeyName>` element, see Section 4.4.1 of the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML Encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3333
3434
3535

xml/System.Security.Cryptography.Xml/KeyInfoNode.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
## Remarks
3030
The <xref:System.Security.Cryptography.Xml.KeyInfo> subelements with specific implementations are <xref:System.Security.Cryptography.Xml.KeyInfoName>, <xref:System.Security.Cryptography.Xml.KeyInfoRetrievalMethod>, and <xref:System.Security.Cryptography.Xml.KeyInfoX509Data>.
3131
32-
For more information about the `<KeyInfo>` element, see Section 4.4 of the XMLDSIG specification, which is available from the W3C at www.w3.org/TR/xmldsig-core/, or see the XML Encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
32+
For more information about the `<KeyInfo>` element, see Section 4.4 of the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML Encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3333
3434
]]></format>
3535
</remarks>

xml/System.Security.Cryptography.Xml/KeyInfoRetrievalMethod.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
3232
Use the <xref:System.Security.Cryptography.Xml.KeyInfoRetrievalMethod> class to reference the same <xref:System.Security.Cryptography.Xml.KeyInfo> information in multiple XMLDSIG signatures or encrypted XML documents, especially when the referenced information is large. For example, a `<RetrievalMethod>` subelement can be used to reference a <xref:System.Security.Cryptography.Xml.KeyInfoX509Data> object that contains an X.509v3 certificate chain, which validates the signing key.
3333
34-
For more information about the `<RetrievalMethod>` element, see Section 4.4.3 of the XMLDSIG specification, which is available from the World Wide Web Consortium (W3C) at www.w3.org/TR/xmldsig-core/, or see the XML Encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
34+
For more information about the `<RetrievalMethod>` element, see Section 4.4.3 of the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML Encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3535
3636
]]></format>
3737
</remarks>

xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
3232
Use the <xref:System.Security.Cryptography.Xml.KeyInfoX509Data> class whenever you need to include X.509 certificate data in an encrypted or signed XML document.
3333
34-
For more information about the `<X509Data>` element, see Section 4.4.4 of the XMLDSIG specification, which is available from the World Wide Web Consortium (W3C) at www.w3.org/TR/xmldsig-core/, or see the XML Encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
34+
For more information about the `<X509Data>` element, see Section 4.4.4 of the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML Encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3535
3636
3737

xml/System.Security.Cryptography.Xml/SignedInfo.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
<format type="text/markdown"><![CDATA[
3535
3636
## Remarks
37-
The <xref:System.Security.Cryptography.Xml.SignedInfo> class represents the <`SignedInfo`> element of an XML signature defined by the XML digital signature specification. The <`SignedInfo`> element, which is a subelement of the <`Signature`> element, contains the canonicalization method used for signing, the algorithm used for signing and validation, and references that describe a digital signature.
37+
The <xref:System.Security.Cryptography.Xml.SignedInfo> class represents the `<SignedInfo>` element of an XML signature defined by the XML digital signature specification. The `<SignedInfo>` element, which is a subelement of the `<Signature>` element, contains the canonicalization method used for signing, the algorithm used for signing and validation, and references that describe a digital signature.
3838
3939
For most scenarios, you should use the <xref:System.Security.Cryptography.Xml.SignedInfo> class available from the <xref:System.Security.Cryptography.Xml.SignedXml.SignedInfo%2A> property to sign and verify XML digital signatures.
4040
41-
For more information about the <`SignedInfo`> element, see the World Wide Web Consortium (W3C) specification at www.w3.org/TR/xmldsig-core/.
41+
For more information about the `<SignedInfo>` element, see the [World Wide Web Consortium (W3C) specification](https://www.w3.org/TR/xmldsig-core/).
4242
4343
]]></format>
4444
</remarks>
@@ -138,7 +138,7 @@
138138
<format type="text/markdown"><![CDATA[
139139
140140
## Remarks
141-
The <xref:System.Security.Cryptography.Xml.SignedInfo.CanonicalizationMethod%2A> property uses a string Uniform Resource Identifier (URI) to represent the <`Canonicalization`> element of an XML digital signature.
141+
The <xref:System.Security.Cryptography.Xml.SignedInfo.CanonicalizationMethod%2A> property uses a string Uniform Resource Identifier (URI) to represent the `<Canonicalization>` element of an XML digital signature.
142142
143143
Use the <xref:System.Security.Cryptography.Xml.SignedInfo.CanonicalizationMethod%2A> property to specify the canonicalization algorithm applied to the XML output of the <xref:System.Security.Cryptography.Xml.SignedInfo> class before performing signature calculations.
144144
@@ -151,7 +151,7 @@
151151
|Exclusive Canonical XML|<https://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#WithComments><br /><br /> Also defined in the following static field: <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigExcC14NTransformUrl>|
152152
|Exclusive Canonical XML with comments|<https://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#WithComments><br /><br /> Also defined in the following static field: <xref:System.Security.Cryptography.Xml.SignedXml.XmlDsigExcC14NWithCommentsTransformUrl>|
153153
154-
For more information about XML digital signatures, see the World Wide Web Consortium (W3C) specification at www.w3.org/TR/xmldsig-core/.
154+
For more information about XML digital signatures, see the [World Wide Web Consortium (W3C) specification](https://www.w3.org/TR/xmldsig-core/).
155155
156156
]]></format>
157157
</remarks>
@@ -532,7 +532,7 @@
532532
533533
Use the <xref:System.Security.Cryptography.Xml.SignedInfo.References%2A> property to describe the transforms, digest algorithms, and digest values of an XML digital signature.
534534
535-
For more information about XML digital signatures, see the World Wide Web Consortium (W3C) specification at www.w3.org/TR/xmldsig-core/.
535+
For more information about XML digital signatures, see the [World Wide Web Consortium (W3C) specification](https://www.w3.org/TR/xmldsig-core/).
536536
537537
]]></format>
538538
</remarks>
@@ -652,4 +652,4 @@
652652
</Docs>
653653
</Member>
654654
</Members>
655-
</Type>
655+
</Type>

xml/System.Security.Cryptography.Xml/SignedXml.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
356356
The <xref:System.Security.Cryptography.Xml.SignedXml.AddObject%2A> method internally calls the <xref:System.Security.Cryptography.Xml.Signature.AddObject%2A> method of the <xref:System.Security.Cryptography.Xml.Signature> object encapsulated by the <xref:System.Security.Cryptography.Xml.SignedXml> object. You can also add a <xref:System.Security.Cryptography.Xml.DataObject> object by directly calling the <xref:System.Security.Cryptography.Xml.Signature.AddObject%2A> method from the <xref:System.Security.Cryptography.Xml.SignedXml.Signature%2A> property.
357357
358-
For more information about XML digital signatures, see the XMLDSIG specification available at www.w3.org/TR/xmldsig-core/.
358+
For more information about XML digital signatures, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
359359
360360
361361
@@ -406,7 +406,7 @@
406406
407407
The <xref:System.Security.Cryptography.Xml.SignedXml.AddReference%2A> method internally calls the <xref:System.Security.Cryptography.Xml.SignedInfo.AddReference%2A> method of the <xref:System.Security.Cryptography.Xml.SignedInfo> object encapsulated by the <xref:System.Security.Cryptography.Xml.SignedXml> object. You can also add a <xref:System.Security.Cryptography.Xml.Reference> object by directly calling the <xref:System.Security.Cryptography.Xml.SignedInfo.AddReference%2A> method from the <xref:System.Security.Cryptography.Xml.SignedXml.SignedInfo%2A> property.
408408
409-
For more information about XML digital signatures, see the XMLDSIG specification available at www.w3.org/TR/xmldsig-core/.
409+
For more information about XML digital signatures, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
410410
411411
412412
@@ -1076,7 +1076,7 @@
10761076
10771077
Use the <xref:System.Security.Cryptography.Xml.SignedXml.KeyInfo%2A> property to embed key-related information intended to help identify the key necessary for validating an XML document.
10781078
1079-
For more information about the `<KeyInfo>` element, see the XMLDSIG specification, which is available at www.w3.org/TR/xmldsig-core/.
1079+
For more information about the `<KeyInfo>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
10801080
10811081
10821082
@@ -1311,7 +1311,7 @@
13111311
13121312
Use the <xref:System.Security.Cryptography.Xml.SignedXml.Signature%2A> property to retrieve the <xref:System.Security.Cryptography.Xml.Signature> object used by the <xref:System.Security.Cryptography.Xml.SignedXml> object.
13131313
1314-
For more information about the `<Signature>` element, see the XMLDSIG specification, which is available at www.w3.org/TR/xmldsig-core/.
1314+
For more information about the `<Signature>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
13151315
13161316
13171317
@@ -1436,7 +1436,7 @@
14361436
14371437
Use the <xref:System.Security.Cryptography.Xml.SignedXml.SignatureMethod%2A> property to retrieve the <`SignatureMethod`> URI used by the <xref:System.Security.Cryptography.Xml.SignedXml> object. This property is read only. For more information about programmatically specifying a URI for the <`SignatureMethod`> element, see the <xref:System.Security.Cryptography.Xml.SignedInfo.SignatureMethod%2A> property.
14381438
1439-
For more information about the `<SignatureMethod>` element, see the XMLDSIG specification, which is available at www.w3.org/TR/xmldsig-core/.
1439+
For more information about the `<SignatureMethod>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
14401440
14411441
]]></format>
14421442
</remarks>
@@ -1476,7 +1476,7 @@
14761476
14771477
Use the <xref:System.Security.Cryptography.Xml.SignedXml.SignatureValue%2A> property to retrieve the value of the XML digital signature. This property is automatically populated when you make a successful call to the <xref:System.Security.Cryptography.Xml.SignedXml.ComputeSignature%2A> method.
14781478
1479-
For more information about the `<SignatureValue>` element, see the XMLDSIG specification, which is available at www.w3.org/TR/xmldsig-core/.
1479+
For more information about the `<SignatureValue>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
14801480
14811481
]]></format>
14821482
</remarks>
@@ -1516,7 +1516,7 @@
15161516
15171517
Use the <xref:System.Security.Cryptography.Xml.SignedXml.SignedInfo%2A> property to retrieve the <xref:System.Security.Cryptography.Xml.SignedInfo> object that is used by the <xref:System.Security.Cryptography.Xml.SignedXml> object to create an XML digital signature.
15181518
1519-
For more information about the `<SignedInfo>` element, see the XMLDSIG specification, which is available at www.w3.org/TR/xmldsig-core/.
1519+
For more information about the `<SignedInfo>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/).
15201520
15211521
]]></format>
15221522
</remarks>

xml/System.Security.Cryptography.Xml/Transform.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
3232
Use a class that derives from the <xref:System.Security.Cryptography.Xml.Transform> class whenever you need to add one or more transform objects to an encrypted XML document or to a signed XML document.
3333
34-
For more information about the `<Transform>` element, see the XMLDSIG specification, which is available from the World Wide Web Consortium (W3C) at www.w3.org/TR/xmldsig-core/, or the XML encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.
34+
For more information about the `<Transform>` element, see the [XMLDSIG specification](https://www.w3.org/TR/xmldsig-core/) or the [XML encryption specification](https://www.w3.org/TR/xmlenc-core/), which are available on the W3C website.
3535
3636
]]></format>
3737
</remarks>
@@ -92,7 +92,7 @@
9292
<format type="text/markdown"><![CDATA[
9393
9494
## Remarks
95-
This property corresponds to the <xref:System.Security.Cryptography.Xml.Transform.Algorithm%2A> attribute of a `<Transform>` element in an XMLDSIG signature. For example, the algorithm URI for the Base64 decoding transform is defined as http://www.w3.org/2000/09/xmldsig#base64 in the XMLDSIG specification (Section 6.6.2).
95+
This property corresponds to the <xref:System.Security.Cryptography.Xml.Transform.Algorithm%2A> attribute of a `<Transform>` element in an XMLDSIG signature. For example, the algorithm URI for the Base64 decoding transform is defined in the [XMLDSIG specification (Section 6.6.2)](https://www.w3.org/TR/xmldsig-core1/#sec-Base-64).
9696
9797
You can conveniently set this value using one of the static fields associated with the <xref:System.Security.Cryptography.Xml.SignedXml> class.
9898

xml/System.Windows.Forms/HtmlDocument.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@
536536
<format type="text/markdown"><![CDATA[
537537
538538
## Remarks
539-
By default, two Web pages in different frames are prevented from accessing each other's content using script; even www.microsoft.com and msdn.microsoft.com are, in this instance, considered different domains. To enable cross-frame scripting for pages from the same top-level domain, you can assign a new value to the <xref:System.Windows.Forms.HtmlDocument.Domain%2A> property. In the pervious URL example, setting <xref:System.Windows.Forms.HtmlDocument.Domain%2A> to microsoft.com would allow both pages to communicate with one another.
539+
By default, two Web pages in different frames are prevented from accessing each other's content using script; even `www.microsoft.com` and `docs.microsoft.com` are, in this instance, considered different domains. To enable cross-frame scripting for pages from the same top-level domain, you can assign a new value to the <xref:System.Windows.Forms.HtmlDocument.Domain%2A> property. In the previous URL example, setting <xref:System.Windows.Forms.HtmlDocument.Domain%2A> to microsoft.com would allow both pages to communicate with one another.
540540
541541
Strings assigned to the <xref:System.Windows.Forms.HtmlDocument.Domain%2A> property must be valid top-level domains. In the previous URL example, you can set <xref:System.Windows.Forms.HtmlDocument.Domain%2A> to microsoft.com, but not to .com, which would enable any page on the Internet to script a page's contents.
542542
@@ -1884,4 +1884,4 @@ window.alert("Name is " + name + "; address is " + address);
18841884
</Docs>
18851885
</Member>
18861886
</Members>
1887-
</Type>
1887+
</Type>

0 commit comments

Comments
 (0)