Phpscaffold laver ikke “well formed” XML

Phpscaffold producerer kun skitsen til en *ML. Koden er ikke “well formed”:

<p><b>Id:</b><br /><input type='text' name='Id'/>

Hvis koden skal validere bør dem se sådan ud:

<p><b>Id:</b><br /><input type='text' name='Id'/> </p>

W3Schools defineres “well formed” xml sådan:

Well Formed XML Documents

A “Well Formed” XML document has correct XML syntax.

The syntax rules were described in the previous chapters:

  • XML documents must have a root element
  • XML elements must have a closing tag
  • XML tags are case sensitive
  • XML elements must be properly nested
  • XML attribute values must be quoted

Output fra phpscaffold skal redigeres, hvis koden skal validere.

Enable Notifications OK No thanks

We use cookies - more information

Multimusen.dk will set a few cookies from Doubleclick, Google and the Social Media plugins they ay set some cookies. Some of my pages use APIs - such as YouTube, LinkedIn, Google Fonts, Google Maps, Mapbox, Spotify, Jetpack, Twitter, Facebook &c.. Such plugins may set the odd cookie.

Close