What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

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

1 Answer 1

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 .