Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

There's a small bug on rendering markdown visible in this answer and copied here.The following seems to work just fine:

val schemaXml = <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                  <xsd:element name="foo"/>
                </xsd:schema>
val schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);

But when the extra lines are added:

val schemaXml = <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                  <xsd:element name="foo"/>
                </xsd:schema>
val schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);

// not possible, but what I want:
// val schema = schemaFactory.newSchema(schemaXml)

The SchemaFactory.newInstance line and the closing XML tag) is all rendering as if it were a literal String

share|improve this question
    
Google prettify, issues, code.google.com/p/google-code-prettify/issues/list, etc – XMLbog Nov 24 '09 at 13:46
    
For some reason Google Prettify thinks it is a C/Perl related language. – Brad Gilbert Nov 24 '09 at 15:26
up vote 0 down vote accepted

I'm not sure if Google prettify, which is what we use for syntax highlighting, supports this:

http://code.google.com/p/google-code-prettify/

share|improve this answer
    
Not that I necessarily think that this is the case here but would you considering committing patches to prettify if it could be fixed? – oxbow_lakes Nov 24 '09 at 16:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .