Skip to content

[Milestone A] A-04: Attribute value > regression tests #77

@csharpfritz

Description

@csharpfritz

Milestone A — Parser Hardening (A-04)

Priority: P0
Size: Small
Branch: experiment/aspx-middleware
File: src/BlazorWebFormsComponents.AspxMiddleware.Test/AspxParserAttributeValueTests.cs (new)

Deliverable

Write unit tests for ASPX tags whose attribute values contain >\ characters. Verify parse tree is correct and not truncated.

Test Cases

  • Comparison operators in <%# ... %>\ expressions (\Items.Count > 0)
  • > 0\ patterns in attribute values
  • HTML entities &gt;\ in attribute values
  • HTML comment-wrapped expressions (<!-- <%# SomeValue %> -->)
  • Nested quotes with >\ characters

Depends On

  • A-02 (regex fix must land first, or tests will fail)

Context

See: \dev-docs/milestones/ASPX-MIDDLEWARE-MILESTONES.md\ § Milestone A

Metadata

Metadata

Assignees

No one assigned

    Labels

    go:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:rogueAssigned to Rogue (QA Analyst)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions