On 10 August 2012 14:05, Smith Kennedy <[email protected]> wrote:
> Hello,
>
> I am an occasional but avid user of asciidoc.  I've begun generating PDF as
> well, using a2x.  In one case, I was having XML validation problems with a
> bibliography entry that was generally like so:
>
> Here is the bibliography reference <<2011-spec-document-X>>.
>
> And then at the bottom, where the bibliography list is, it has something
> like so:
>
> [bibliography]
> - [[[2011-spec-document-X]]] http://www.whatever.org/somespec-2011.pdf
>
> The failure was caused by xmllint not liking something about the
> bibliography entry.  I resolved this problem by moving the "2011" to the
> end, so that the reference was now "spec-document-X-2011".
>
> I wanted to know if this was a known problem or limitation?  I checked the
> list to see if this was discussed earlier but didn't see anything.  I'm
> happy to file a bug but didn't want to if asciidoc / a2x was working as
> expected.  I attached a file demonstrating the problem, with a comment that
> provides instructions, and another one where the problem is resolved.

The reference is used as an ID, and all XML IDs must start with
letters, hence your solution is correct.

Cheers
Lex

>
> Thanks for any help,
> Smith
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/asciidoc/-/LK5hQ9gSXHwJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/asciidoc?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to